Keyword being “shouldn’t”. C++ doesn’t care about that, it just hands you the loaded gun.
Keyword being “shouldn’t”. C++ doesn’t care about that, it just hands you the loaded gun.
auto isn’t dynamic typing it’s just type inference.
I’m aware, but one of the big arguments I’ve heard about dynamic typing is “I don’t know which type it has when I read the code”. Well, auto looks just like var in that regard.
Lambdas are just a way of defining methods in place. It has nothing to do with callbacks.
Callback definition from wikipedia:
In computer programming, a callback is a function that is stored as data (a reference) and designed to be called by another function – often back to the original abstraction layer.
This is exactly what lambdas are often used for in C++.
C++ continues to be the dumping ground of paradigms and language features. This proposal just aims to add even more to an overloaded language.
C++ programmers mocked languages for being dynamically typed then they introduced auto
, they mocked JS for callback hell and introduced lambdas, they mocked Rust devs for being lowskill C++ devs who can’t manage their own memory and now they are admitting they can’t manage it themselves either.
It’s going to be come like the x86 instruction set or windows that is backwards compatible with stuff from 30years ago just accumulating cruft, unable to let go.
Oh, this is great! I had a few usecases for this back in the day, but never bothered implementing any of the algorithms myself. Do you use these yourself? (from the name I assume you’re the author?)
Use something like https://transfer.sh/ , github gist, or termbin.com to upload your traces so that others can see what you mean. Also, you computer has a screenshot button or application. No need to use your phone for it. (But text is probably better shared as text).
This should’ve been the linux kernel for years, but instead you have a maze of documentation that makes it very difficult to find how to even build the damn thing, let alone test it. Instead you need to go to other websites like linux.com that explain how to compile it and run it, but mention nothing about VMs.
I don’t know how long it’ll take for the mailing list and other archaic stuff to be dropped, but it’s probably actively hindering contributions to the kernel.
I’m not an expert, but this is what I gather
What’s ABI? API compatible with linux kernel?
Application Binary Interface is the equivalent of an API but at binary level. An API defines for example the functions with their parameters, types, order, and output. An ABI defines how functions are called, how parameters are passed, how output is pass and retrieved, and so on but at a binary level.
An example of an ABI would be for example the Linux Standard Base which makes compiled binaries compatible with linux (how binaries are constructed, where to find data like constants, where to find instructions, and so on). The internal ABI is also important for example how drivers communicate with the kernel.
And what’s TCB?
That, I don’t know, unfortunately :/ We need a tech glossary. If I had to guess, it’s the Trusted Computing Base?
Thank you for the insight! It makes me hopeful about linux’s position in India. Hopefully an increase of prosperity, meaning better hardware, won’t mean an increase of windows or mac users.
Wouldn’t hurt to create the ticket, maybe even it share it here. People who support it can simply put a thumbs up.
Since there’s only github as a donation option, there are also other admins who can be sponsored through other means e.g @recursive_recursion@programming.dev has a Libera Pay account which allows donation without giving M$ more traction.
Are you hopeful for the future of Linux in India? It’s a large country with lots of people. I don’t know if Linux is “just” a regional thing in India or if it’s spreading across the entire country.
And, do you know what kind of status / reputation it has in India or the people know you? In my small circle, people only know of it through me. People outside of it either don’t know of it or think it’s for geeks / unusable to them.
You could create an issue to address it. I’m not sure why they consider MPL to be a good license for the project. Of course somebody could contact the linux rust contributors and suggest they create another project with GPLv3 or even AGPL.
I’m honestly surprised. Germany has been the home of OpenSuse for a decade or so now, has had Christian “democrats” torpedoing any effort to get Linux into government (Munich) and yet, now it’s at 5.25%? What’s going on?
India?
If the linux kernel had any real budget to speak of, they could hire rust experts to maintain the rust code. But the “linux” foundation spends 2% of its budget on Linux, this is the situation you end up with.
You do everything you’re told? They say work overtime and you say how much?
Oh wow… This might be what the rust in Linux people need to switch to. Fuck all the LKML bullshit, fuck mailinglists, fuck C, fuck the shitty tooling and hodgepodge of languages. This looks amazing. Seriously, cargo run and the kernel starts up in a VM? How friggin cool is that?
Wow…
Again, the Linux kernel needs more funding. For crying out loud, these kinds of people holding back progress should be made obsolete (by bringing in and paying talent that is willing to work towards a brighter future with less memory errors, a sane tech stack with better tooling, and better processes). Holding back progress because of their incessant pearl clutching “but my dearest C!!!” Just hurts everybody and impedes progress.
Of course blindly adding the latest and greatest is asking for trouble. Assessing risk, weighing options, making a plan and continuously assessing impact is definitely important, but straight up blocking the road on principle is extremely unproductive.
C++ has a bunch of functional properties. It has lambdas, function pointers which allow currying, higher order functions, it has of course pure functions, functors, recursion, lazy evaluation, a type system supporting lambda calculus, and so on.
C++ is the dumping ground of programming paradigms. Name a paradigm and C++ probably has it. Just because another programming language supports some aspects of a paradigm doesn’t make it pure. Or for another a more common example: just because it quacks like a duck, doesn’t always mean its a duck.
In other words, rust is about as functional as C++. Plus minus a few things.
Most GUI. Everything is nearly just one keystroke away when I’m in my IDE and it’s way faster than the CLI. The CLI is only used when doing really really quick things like checking out another repo that I don’t want to open the IDE for. Also messing with work trees requires the CLI.
Anti Commercial-AI license