• 70 Posts
  • 4.38K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle





  • Just as an example, neither the C++ documentation nor its sagely bloggers have ever shown why it is a good fit for, say, systems programming. A really neat way of handling bit-level data is actually in Erlang’s bit syntax.

    Erlang requires a runtime environment, which disqualifies it for situations where you don’t have a filesystem to load the runtime from, like developing a kernel or for microcontrollers.
    Of the popular languages, your choices are virtually just C, C++ and Rust for that.

    More towards your general question: Not needing a runtime environment also means you can use C, C++ and Rust for cross-language libraries. For example, SQLite and OpenSSL have just been implemented once in C, and then you simply have a thin wrapper for Java, Python etc…
    If you are looking to build a library that can be used by as many devs as possible, that’s a selling point which is hard to ignore.



  • Ephera@lemmy.mltoich_iel@feddit.orgIch_iel
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    3 days ago

    Bei meiner ersten Fahrstunde bin ich eingestiegen als mein Fahrlehrer einen Anruf bekommt. Er gestikuliert, ich solle losfahren.
    Hab’s dann irgendwie geschafft, 7 km weit und 100 km/h schnell zu fahren bevor ich meine erste Praxiserfahrung mit dem Bremspedal gemacht habe. Mit Fahrlehrer immernoch am Telefon…



  • I feel like a big problem is that LLMs only produce previously learned logical patterns, they don’t do logical reasoning of their own. And code review was always bad at catching logic bugs as well.

    As a result, even with us diligently doing code reviews at $DAYJOB, we have more logic bugs than I have ever seen in any codebase before.

    I’ll spend three weeks discussing an existing feature with other devs and fixing up logic bugs before we realize that the entire feature is conceptually illogical and needs to be removed/replaced.
    This has happened twice for me in the past three months, which should tell you a lot about how much time is wasted here.

    TL;DR: I feel like we need something different than code review to catch these logic bugs. Maybe more of a presentation of the feature implementation to the other devs, and then a discussion of that.








  • Yesterday, I made hokkaido pumpkin with chickpeas, rice noodles and a spicy sauce. I forgot again that my new sriracha sauce is like twice as spicy, and I decided while cooking that I had to add some curry paste as well.

    So, my mouth was most definitely on fire.

    But also, I still have half left for today’s lunch. Can’t wait. 🙃