LINKDING

Login

Shared bookmarks

  • #async #programming-languages | There are no colorless functions in the language. Want to make a function? Gotta pick a color. Them’s the rules. And, actually, there are a couple more rules you have to follow too...

    The post has aged like good cheese: since 2015 we've moved on from callback syntax to async/await, but the debate about advantages and disadvantages of futures and microthreads remains open and this is a fantastic, clear way to picture it (even if opinionated in one direction).

    3 weeks ago | View Shared by kos
    |
  • #golang #programming-languages | (...) I really tried to be fair here instead of getting mad and give Go some leeway even if it's just because of the cute Gopher. But I just can't lie to myself anymore. The language has multiple problems which could have been avoided.

    I was surprised to see such a throwback to the classic PHP article. I can see a value in this article because it brings attention to a lot of gotchas and inconsistencies in the language that we should be aware of; I especially appreciate a good summary of inconsistencies around zero values. However there's a different point to be made here: Golang feels like a successful language to me. It has a purpose and fits this purpose really well. There's a lot of amazing pieces of software that I use regularly that Golang made possible. Maybe this means we should appreciate Go not as a "overall well designed language" but as a language that successfully solved a problem back when a compiled language with great tooling, concurrency and modules wasn't so readily accessible? This reminds me of how PHP successfully solved another important problem, despite its language design problems.

    1 month ago | View Shared by kos
    |
  • Surprised to see Go use more memory than Java in some benchmarks!

    1 month ago | View Shared by kos
    |
  • #c++ #programming-languages | We’re basically seeing a conflict between two starkly different camps of C++-users: Relatively modern, capable tech corporations that understand that their code is an asset [...] Everyone else. Every ancient corporation where people are still fighting over how to indent their code, and some young engineer is begging management to allow him to set up a linter.

    The thing that surprised me most about this article is how much ongoing effort there is to "upgrade" C++ to match the modern set of expectations, and how much friction it seems to face. I wasn't familiar with the historical events like the big ABI vote, so lots of learning here.

    1 month ago | View Shared by kos
    |
  • #programming-languages | During a recent Rust Q&A Session on my twitch channel, someone asked a question that seemed simple: why are small string types, like SmartString or SmolStr, the same size as String, but small vec t...

    A nice walkthrough of all the differences between enums as in "overlapping memory" - known from C - and enums as in "variant types" implemented in rust.

    3 months ago | View Shared by kos
    |
  • #operating-systems #programming-languages | In this article, we will trace the execution path of the "Hello World" micro-program written in Python and run on Windows, starting from a single call to the high-level print function, through the subsequent levels of abstraction of the interpreter, operating system and graphics drivers, and ending with the display of the corresponding pixels on the screen.

    Fantastic collab work which takes you to surprising places!

    2 years ago | View Shared by kos
    |
  • #game-development #programming-languages #projects | In order to learn Rust better, I decided to rewrite one of my previous projects, Minefield Mahjong. The game was originally written in Python, so I had an opportunity to see which ideas translate well and what needs to be different.

    A comprehensive "first impressions" post! I was part of the 2013 hackathon so this article brings back a lot of memories when I re-read it in 2024. Especially socket.io was a big breakthrough for me: back when websockets were not that popular thing and Flash was still around, socket.io suddenly made it so easy to make interactive multi-user experiences. I was looking for all kinds of opportunities to use it.

    4 years ago | View Shared by kos
    |

User


Tags