Protobuf-py: Protobuf for Python, without compromises
We're announcing protobuf-py, a complete, 100% conformant Protobuf runtime for Python that feels like Python and matches the performance of Google's C engine on real workloads.
Topics /
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
We're announcing protobuf-py, a complete, 100% conformant Protobuf runtime for Python that feels like Python and matches the performance of Google's C engine on real workloads.
It doesn’t have to be so thought out.
Why the function signatures in the slices packages are so complicated.
Programming languages new (Java) and old (Fortran), and their compilers, still lack competent support for features of IEEE 754 so painstakingly provided by practically all hardware nowadays. […] Programmers seem unaware that IEEE 754 is a standard for their programming environment, not just for hardware. William Kahan
“A Modest Proposal For Preventing The Children of Rust Developers From Being Exposed To Procedural Macros”
The TypeScript 3.7 release is coming soon, and it's going to be a big one. The target release date is November 5th, and there's some seriously exciting...
I spend a lot of time developing and teaching people about Clojure's open source tools for working with data. Almost everybody who wants to use Clojure…
Using Elixir instead of Python or Ruby for shell scripting.
(I've been editing this post on and off for almost a year. I'm not really happy with it, but I suspect I never will be.)
I’ve been exploring various ways to write parsers. For a long time, I’ve used hand-written recursive descent for its straightforwardness, flexibility, and performance. There is another way—parser generators like Menhir , LALRPOP , or the venerable Bison use the bottom-up LR algorithm .
What Ruby’s top-level methods actually are, who they belong to and how they are namespaced
I was recently encouraged to watch A Practical Guide to Applying Data Oriented Design (DoD) by Andrew Kelley, the creator of Zig1. Just 10 minutes into the talk, I was confronted with a skill I had never formally learned… the arithmetic behind memory layout of types. Zig is a modern, C-like programming language which…
Update: This is a re-post of an older blog post of mine. Originally it was posted on my personal blog where it has >30 comments and >20’000 views over the last years. I’m deprecating my personal blog in favor of this 200OK blog.
The tokens #t and #f are the True and False literals, respectively. The single quote mark serves to quote the following expression. The syntax ' exp is completely equivalent to (quote exp ) . The backquote character ` is called quasiquote in Scheme; it is similar to ' except that within a quasiquoted expression, the…
Tap, Click, Launch
It seems these days like programming with dependent types in Haskell (and its advantages) is moving slowly but steadily to the mainstream of Haskell programming. In the current state of Haskell education, dependent types are often considered topics for “advanced” Haskell users. However, I can foresee a day where the…
A while ago, I built a system-tray application in Rust to notify me of new e-mail called buzz. It was working fine, but every now and again, it would fail to connect to the mail server on boot if it started before my network connection was up. Sounds easy enough to fix, so I just added a loop around my connect (even…
Crystal 0.31.0 has been released!
Only dead fish go with the flow. As I promised in the last article, today we’re finally going to do a deep dive into the topic of scopes. This is what we’re going to learn today: We’re going to learn about scopes, why they are useful, and …
My Rustic Ramblings
In expressive languages, developers generally need to use fewer temporary variables.This means that in a typical piece of code there are fewer names defined,...
My twitter feed has recently been filled with discussions about the following program #include <cstdlib> typedef int (*Function)(); s...
Antiquated, clunky, and unsafe. Though beloved to some, C is a language that many choose to hate. The mass opinion is indeed so negative it’s hard to believe that anybody would program anything in C. Yet they do. In fact a lot of things, even new things, are programmed in C. The standard was recently […]
During my life as a software engineer there only have been a few occasions where the design and principles of a language struck me as inherently beautiful and consequently inspired me to work with them.