On top of the recently added #Rust and #Cpp libraries, you can now also find the Slint source code on codebrowser.dev - the online code browser allowing you to browse #code just like in your IDE. Try it out and let us know what you think about this addition: https://codebrowser.dev/slint/slint/#RustLang@slint
Does anyone know how to get #vim or #neovim's C and C++ indenter to indent switch statements sanely? I don't want this sort of alignment at all, and I certainly don't want it to align with a mix of tabs and spaces
I learned #FunctionalProgramming to escape the imperative programming languages, which in turn got me interested into #Compilers and #ProgrammingLanguages. Turns out, most of the real-world compilers are written in C and C++, so here I am back at square one.
After years of avoiding it for decades, I taught myself #Cpp in the last couple of weeks. So anyway, does anyone want me to write a series of #blog posts about making a #Lisp interpreter (https://github.com/kanaka/mal) in C++?
I think the most interesting thing about the White House announcement today is the discussion of software metrics. Anyone who's had to deal with "enterprise" software has experienced the CIO buying some slideware which you then have to use/manage/secure. It'd be nice to point to a set of industry standard metrics and say "how about we don't buy the thing with a negative ROI... "
Decided to try and compare the general base program size of several languages. I wrote a handful of Hello World programs, and stripped them of everything. Here's the final results in KiB:
The std::forward is a conditional r-value (specifically x-value) cast.
std::forward is primarily designed to work in conjunction with universal references and will only cast to an r-value if the template argument isn't an l-value reference type.
@lxo the #GDB mailing list seemed inactive, and Arsen: on IRC mentioned this as your idea for an #LSP server, so ...
[ Big fan, especially of your linux-libre work
and your stint on the FSF board ]
As a #Cpp dev, it is a sorry state - impotent ctags/etags/global on one side, the overkill that is ccls on the other. I came round to DWARF debuginfo as a reliable source, but not wanting to build off libelf myself ... and to your idea apparently, of using GDB itself as a langserver.
Does anyone know anything about compiling with debug symbols enabled under MSYS2 (without works fine)? I'm getting this weird link error "relocation truncated to fit: IMAGE_REL_AMD64_REL32 against .rdata", on both GCC and Clang, seems to be tied to std::function somehow