Taming Undefined Behavior in LLVM
Interesting post, but you lost me at “Let’s try to do that using undef”. Why bother with notions of an “undef value” (or “deferred UB”), when plain UB is all you need?
Topics /
The most popular blog posts about programming languages on Hacker News. 433 posts.
Interesting post, but you lost me at “Let’s try to do that using undef”. Why bother with notions of an “undef value” (or “deferred UB”), when plain UB is all you need?
Dependently typed programming is becoming all the rage these days.Advocates are talking about all the neat stuff you can do by putting more and more informat...
What we learned from the December 2017 Go User Survey.
Dart was the fastest growing programming language at Google in 2016 with millions of lines of code written. It also made it to TIOBE Index ...
Are you arguing that undefined behaviour should not be a thing in, e.g., C? It sounds like you’re claiming that the fabled sufficiently smart compiler could take code in a C-like language with no UB, and emit something equivalent to what a C compiler would produce given equivalent input in C that correctly avoids UB…
I believe that to really learn a programming language, I have to get involved in a project. Getting an overview of the Elixir language was…
For better or worse, we count lines of code. We (hopefully) feel a little dirty when we do it, because it's a flawed metric. But we do it . We do it on large codebases and small code snippets . Even badass hacker David Nolen does it .
The relative performance of C and C++ is the stuff of folk legends and Very Strong Opinions. There are microbenchmarks that can prove differ...
Livecode all the JS things from Smalltalk!
I myself was not on the famous C3 (Chrysler Comprehensive Compensation System) project in 1996-2000 that is pivotal to ‘Extreme Programming’ (XP). That project used Smalltalk, and team contribution was provided by Object Technology International’s ENVY version control system. I wanted to know more about that so I…
Little Lisp is an interpreter that supports function invocation, lambdas, lets, ifs, numbers, strings, a few library functions, and lists. I wrote it for a l...
If you have never heard about functional programming before, I’ll have the honor to instill in you my view on it. If you have, you might know that it’s usually defined by some of …
In the latest release of Swift, dictionaries and sets gain a number of new methods and initializers that make common tasks easier than ever. Operations like grouping, filtering, and transforming values can now be performed in a single step, letting you write more expressive and efficient code.
Fifteen years ago Python’s GIL wasn’t a big issue. Concurrency was something dismissed as probably unnecessary. What people really was needed was a faster interpreter, after all, who had more than one CPU? But, slowly, as the requirement for concurrency increased, the problems with the GIL increased.
wingolog: article: growing fibers
To highlight exactly how I think Go could be better, I want to make comparisons to Rust.
The Nim team is happy to announce that the latest release of Nim, version 0.17.0, is now available. Nim is a systems programming language that focuses on performance, portability and expressiveness.
In the light of my latest fascination with Rust programming language, I've started to make small presentation about Rust at my office , sinc...
First we have to determine what IBM means by its famous slogan. Here are some of the many meanings of "think": "ponder; reflect (on); believe; consider; cogitate; feel; deem; hold; suppose; imagine; remember; recall; conceive; deliberate; recollect; evoke", etc. Thomas J. Watson , who led IBM from 1914 to 1956, first…
Project Loom's mission is to make it easier to write, debug, profile and maintain concurrent applications meeting today's requirements. Threads, provided by Java from its first day, are a natural and convenient concurrency construct (putting aside the separate question of communication among threads) which is being…
The Pragmatic Programmer recommends that we learn at least one new language every year. To be effective, the languages we learn should differ sufficiently from those we already master and ideally introduce us to a new paradigm too. Learning a different programming language affects the way we view code. A new paradigm…
Learn Swift coding for iOS with these free tutorials
Look at them! All smiling and happy. Coworkers, friends, and close family members. All enjoying programming in Perl 6 version 6.c "Christmas". Great concurrency primitives, core grammars,…
We’re delighted to announce that our rich Python toolchain is fully available in Visual Studio 2017. Installation of Python tools, interpreters, runtimes,
nix-derivation 1.0 announcement post
Technical articles by Kevin Menard. Topics include Ruby, Java, machine learning, and general computing.