Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Right after the BUILD conference, Microsoft released the source code for the first version of GW-BASIC for the MS-DOS under the MIT license.
-
A few years back, I wrote a tiny JSON library for the Zephyr OS; it focused mostly in things that are important for an embedded real-time operating system: code size, type-safety, and predictability (both for memory and CPU time usage).
-
Around five years ago, I wrote a blog post that went though the life-cycle of a HTTP request, as seen by my toy web server, Lwan.
-
One of the decisions I took early on while writing Lwan was to only support Linux, and think about portability later; this decision was influenced by the way the OpenBSD project approaches portability.
-
Talking about uncommon programming tricks the other day, the subject of switching on strings in C appeared on the table.
-
My laptop is a 6-year old ThinkPad X220.
-
There are many libraries out there to parse JSON files.
-
I’m not one to jump on each and every bandwagon I see.
-
A pretty common mistake that happens when programming things in C is to allocate less memory than necessary to hold a structure:
-
I've been thinking for a while on how to reduce the overhead in Lwan's string buffer, when the strings are small.
-
When learning a new programming language, I tend to write two things with it: a language interpreter (usually a FORTH-like language or Brainfuck if I'm feeling lazy), and a HTTP server.
-
There are various ways to convert integers to their string representation.
-
One of the things that bothers me when I'm writing software is that I never get things right the first time.
-
When I wrote about lwan's templating engine on a blog post last year, I purposedly ommitted the fact that it didn't support sequences.
-
There are some functions in the standard C library that takes a function pointer to be used as a callback later on.
-
Generating textual output is a lot easier with templates than it is with handcrafted functions.
-
I’ve attended this year’s FISL, both as a booth attendee (at ProFUSION’s booth, demonstrating a few of our end-user-visible projects), and as a speaker for my old FINF project.
-
Previously, I’ve improved file serving performance in lwan by dramatially cutting down on the number of system calls performed to serve a file.
-
Writing asynchronous I/O code in C is kind of tedious, and often leads to a callback hell.
-
I’ve been working at ProFUSION on a project called EasyUI for the past few months.
-
When I first wrote lwan, file serving was not a primary goal.
-
Golang has a lot of nice features – and one I found pretty interesting is called deferred statements.
-
Tries are very useful data structures if you need to perform longest subprefix matching.
-
C’s switch statement is very powerful.