Advertisement · 728 × 90

Posts by Michael De Lang

Preview
GitHub - simdutf/simdutf: Unicode routines (UTF8, UTF16, UTF32) and Base64: billions of characters per second using SSE2, AVX2, NEON, AVX-512, RISC-V Vector Extension, LoongArch64. Part of Node.js, We... Unicode routines (UTF8, UTF16, UTF32) and Base64: billions of characters per second using SSE2, AVX2, NEON, AVX-512, RISC-V Vector Extension, LoongArch64. Part of Node.js, WebKit/Safari, Ladybird, ...

Simdutf is a godsend: github.com/simdutf/simd...

1 year ago 1 0 0 0

How else he's going to teach people why c++ strings are how they are? It solved a rail pain and will prevent pain for you once you understand. Otherwise, abusing ats::string will lead you to days of debug hell...

1 year ago 2 0 0 0

Not to mention having different member variables depending on the CRTP param...

1 year ago 0 0 0 0

A conversion allocates and does some "real" work for some definition of "real". Casts, especially c style casts, are just sprinkles of magic fairy dust to make the compiler treat something as a different type. Sometimes that fairy dust is actually demon dust though.

1 year ago 1 0 1 0
Preview
GitHub - uatuko/grpcxx: 🚀 Blazing fast gRPC server (C++) 🚀 Blazing fast gRPC server (C++). Contribute to uatuko/grpcxx development by creating an account on GitHub.

Yeah, especially because it's mostly tailor made for Google's workflow. Haven't been able to try it, but perhaps github.com/uatuko/grpcxx is slightly easier to use?

1 year ago 2 0 1 0

If you're writing your game in ASM, I have bad news for you.

You aren't a game dev.
You aren't making anything.
You're relying on a cheap tool to make the game for you, so you can feel proud.

Come back when you've written a game in hardware logic gates... then we'll talk.

1 year ago 4 0 0 0

Unfortunately I see a lot of global mutable state in embedded projects. Kind of like errno, but custom. Having independent parts of the code react or not depending on that leads to having at least half a working system in some cases.

1 year ago 1 0 0 0

There's Conan and vcpkg. But before I get your hopes up, they're nowhere near as good as cargo.

1 year ago 1 0 0 0

With WAL, synchronous=normal and order-dependent execution, I really wonder if it's use is justified. Either the use-case is one where'd one be better of using postgresql/mysql/etc or in a single user use case, I only see it as an overkill function that adds overhead.

1 year ago 0 0 0 0
Advertisement
Preview
GitHub - stephenberry/glaze: Extremely fast, in memory, JSON and interface library for modern C++ Extremely fast, in memory, JSON and interface library for modern C++ - stephenberry/glaze

If you're able to use c++23: github.com/stephenberry...

This library is so much more convenient than any other to use and the performance is one of the best (jsonifier might beat it depending on use case)

1 year ago 1 0 0 0

Learning is fun, but c++ (especially on windows) is a marathon of masochism. Whether you enjoy such a thing or not is up to you. It will end up giving you a greater mastery of programming though, as you will have to touch on all the things that make a computer work.

1 year ago 1 0 1 0

This seems like such a waste of engineering effort for practically 0 gains... I question the benefit of the asynchronous API too.

1 year ago 0 0 1 0

Std variant should come pretty close?

1 year ago 1 0 1 0

Wow. You'd think that after ten years of programming c++ I'd have noticed this. But no, TIL.

1 year ago 2 0 1 0

🎉

1 year ago 1 0 0 0

🎉

1 year ago 0 0 0 0
Legacy Safety: The Wrocław C++ Meeting | cor3ntin

A good out of the box thinking blog post on the current safety in c++ dichotomy: cor3ntin.github.io/posts/profil...

1 year ago 0 0 0 0
Advertisement

It is one of the more difficult tools to use yes :(

1 year ago 0 0 0 0

Does anyone have any recommendations on organizational learning? Double-loop learning and so on. #organizationallearning #managementbooks #learningfromfailure #books

1 year ago 1 0 0 0
Preview
x86_64-elf-gcc Homebrew’s package index

Homebrew is the answer: formulae.brew.sh/formula/x86_...

1 year ago 1 0 1 0
Does GitHub Copilot Improve Code Quality? Here's How We Lie With Statistics | Jadarma's Blog A critique of GitHub's research blog and marketing-driven science.

The AI hype is so strong that Microsoft published an article that looks like it was written by an LLM. I keep saying it to whoever wants to listen, the current generation AI is making software development worse. jadarma.github.io/blog/posts/2...

1 year ago 4 1 0 0

Link missing :(

1 year ago 0 0 0 0
Post image

The enshittification continues. www.baldurbjarnason.com/2024/the-det...

1 year ago 1 0 0 0

Story-time: C++, bounds checking, performance, and compilers -Coding in Old Entish
chandlerc.blog/posts/2024/11/story-time...

#frombsky


Original->

1 year ago 2 1 0 0

And then in your c code you cast it back and forth.

This is great for learning making your own bindings, however, there are usually libraries that make c++ interop more seamless by hiding the gory details. F.e. pybind11 supports binding classes by generating a python class underwater.

1 year ago 2 0 0 0

No worries, everyone starts as a beginner.
Usually the pattern is that there is a "create_my_type" extern C function that returns a void pointer to python. Then other functions accept that as a parameter "void some_operation(void* my_opaque_type_ptr, int arg1, float arg2);"

1 year ago 2 0 1 0
Advertisement

Not sure I understand the problem. Passing around opaque void pointers, while frowned upon, is definitely possible with python <-> c interop. You just gotta sprinkle your c++ with extern "C" every point where you interop

1 year ago 1 0 1 0

For those, like me, who recently joined blue sky, there's apparently a site to search for lists! Go check it out

1 year ago 1 0 0 0

Well, stuff like reflection, constexpr/consteval, concepts being more powerful.

1 year ago 0 0 0 0

Either rust or the Safe c++ proposal, which implements the borrow checker for c++.

1 year ago 0 0 0 0