« first day (4276 days earlier)      last day (655 days later) » 

1:36 AM
Why are assembly languages so user unfriendly? Are they able to be updated like how there is C++14, C++17 and C++20? It would seem to make sense as ways of programming change and the assembler itself could be updated.
 
 
2 hours later…
3:26 AM
Sometimes being a hoarder is just awesome - I need to build an external power source for this powerful servo, and was able to find the breadboard, power supply, adapter, wires and right cable from boxes of idle material. I wasn't even aware that I had them.
@northerner Assembly languages are only unfriendly to those who do not know them well, who are in the majority.
 
 
4 hours later…
7:36 AM
@northerner I think there's some pretty friendly assemblers. If you just write machine code mnemornics they're not great. But most assemblers have some pretty powerful macro support
I mean people wrote programs and games with assemblers for years before C, PASCAL and the like became more wide-spread
 
nwp
I'd think assembler languages essentially just give you access to the processor instructions together with minor tricks like defines. There are not many options, the processor instruction set is what it is. If you want something better you'll end up with a programming language.
And the spot "portable assembler language" is pretty tightly held by C, or so I've been told.
 
8:09 AM
Ugg, I'm getting my butt kicked by doxygen
I found a bug in doxygen
static constexpr auto *foo_doc = R"STR("extra_quote_on_the_left)STR";
breaks parsing
 
Not really surprising. That project seems to be on life-support for like 10 years now
 
nwp
The biggest bug is in the concept, the assumption that copying headers into an html file has value 🤡
2
 
I do find myself browsing sources on Github on a weekly basis pretty much. Even just to share a link to specific code
There should really be a git:// URI extension that links to a specific revision + path + linenum-range
I do enjoy the compile_commands.json "standard", but where's my link_commands.json?
 
nwp
I need a way to generate a compile_commands.json. If you don't have one VSC generate a bunch of targets that work. If you want to pass an argument you add that file, but now you have to figure out how to even make it compile at all from scratch.
 
people write it themselves? I just always saw tools generating it, i.e. CMAKE_EXPORT_COMPILE_COMMANDS and I think CLION and QtCreator also have ways to generate it
 
nwp
8:25 AM
I was looking up how to pass an argument to a program and editing the compile_commands.json is what people said was the way to do it and I didn't have one.
 
nobody writes it themselves
the format is kinda garbage because if you have a cmake with multiple targets that share the same file you get multiple entries for the same file (possibly different build options etc) - without any real way for clangd to tell which target you're on
room topic changed to Lounge<C++>: Actually Love<C++>, don't be fooled by the name [c++] [chill]
 
 
13 hours later…
9:40 PM
 

« first day (4276 days earlier)      last day (655 days later) »