Topics /
Programming Languages
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
JEP draft: Exception handling in switch
Enhance the switch construct so that exceptions thrown by the selector (the e in switch (e) ... ) can be handled in the switch block. Alongside a previous enhancement to handle null selectors, this makes switch even more useful for pattern matching. This is a preview language feature .
An exploration of why Python doesn't require a 'main' function
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
The Composition over Inheritance Principle (2020)
In Python as in other programming languages, this grand principle encourages software architects to escape from Object Orientation and enjoy the simpler practices of Object Based programming instead.
Develop with Cocoa for Apple devices without using Objective-C
Summary In this post I’ll go into detail about how, during my contracting work for Shimmer Industries (a company founded by Eskil Steenberg which is focused on developing a real-time lighting designing software), I worked on a piece of software which enabled us to use the MacOS and iOS APIs using a custom C API…
Why Dark didn't choose Rust
Welcome again HN! Dark [https://darklang.com] is a programming language, structured editor, and infrastructure—all in one—whose goal is to make it 100x easier to build backend services. Check out the website [https://darklang.com/], our What is Dark [https://blog.darklang.com/what-is-dark/] post, and
Code Generation in Rust vs. C++26
One of the things I like to do is compare how different languages solve the same problem — especially when they end up having very different approaches. It’s always educational. In this case, a bunch of us have been working hard on trying to get reflection — a really transformative language feature — into C++26…
Only fast languages are interesting
If this isn’t a Zawinski quote, it should be. I have avoided the JVM my entire life. I am presently confronted with problems which fit in the JVM; JVM libraries, concurrency, giant data: all …
A new year resolution to have Crystal reach the 1.0 milestone in 2017
Crystal has gone a long way since we started it over five years ago. What was once an experiment to see if it was possible to have a compiled yet Ruby-like language, is now a trending language with over 7,000 GitHub stargazers and almost 1,400 shards. Its popularity has risen considerably in the last few years, and we…
JEP 400: UTF-8 by Default
Specify UTF-8 as the default charset of the standard Java APIs. With this change, APIs that depend upon the default charset will behave consistently across all implementations, operating systems, locales, and configurations.
The intricacies of implementing memoization in Ruby
A long time ago, I wrote a memoization library for Ruby. It was not easy, but I learned a great deal in the process. In this article, I am share these learnings and showing you how deep the memoization rabbit hole goes.
There is no pass by reference in Go
My post on pointers provoked a lot of debate about maps and pass by reference semantics. This post is a response to those debates.
Zig: What to Expect from Release Month
We’ve been relatively quiet over here at the Zig Software Foundation for a few months now and so it’s about time to give y’all an update.
IntelliJ IDEA 15 Released, Adds Kotlin to the Family of Supported JVM Languages
Great news from the JetBrains team: today we're announcing the release of IntelliJ IDEA 15!As always, the new IntelliJ IDEA release brings a rich set of new features, better user interface, more bui
Elixir v0.13.0 released, hex.pm and ElixirConf announced
Elixir v0.13.0 comes with substantial improvements to the language: maps, structs, comprehensiona and more. It also marks the announcement of the hex.pm package manager and the announcement of ElixirConf.
Explore the ownership system in Rust
Articles and tutorials about Rust, Embedded development and Computer Graphics.
Pair Your Compilers at the ABI Café
Not sure if your compilers have matching ABIs? Then put them through the ultimate compatibility crucible and pair them up on a shift at The ABI Café! Find out if your one true pairing fastcalls for each other or are just another slowburn disaster. (Maid outfits optional but recommended.)
One year of Roto, a compiled scripting language for Rust
By Terts Diepraam Almost exactly one year ago, we announced Roto, a JIT-compiled embedded scripting language for Rust applications. A lot has happened since then that we'd like to tell you about! 💡Along with this post, we published Roto v0.11.0! You can check out the changelog
Getting started with the F# and .Net ecosystem
PAKBOLA88 hadir sebagai situs sepakbola pilihan dengan informasi pertandingan terkini serta peluang odds menarik untuk menemani aktivitas sepakbola Anda setiap hari.
Go.dev: a new hub for Go developers
Announcing go.dev, which answers: who else is using Go, what do they use it for, and how can I find useful Go packages?
Type-Level Programming in Rust
I show how two domain-specific type systems, information flow control and two-party communication protocols, can be implemented in Rust using type-level programming. I explain how interesting properties of these domains can be verified at compile-time. Finally, I construct a general correspondence between type…
LALRPOP, an LR(1) parser generator for Rust
Around four years ago, when I had first decided to start at Mozilla research, I had planned to write an LR(1) parser generator. It seemed like a good way to get to know Rust. However, I found that newborns actually occupy somewhat more time than anticipated (read: I was lucky to squeeze in a shower), and hence that…