I am a bit confused by their moving from C++ to Swift instead of Rust. It sounds a bit Apple-first. I get that it ports to Linux okay, but will it be hard to make it work with Windows some day?
The main reasons were that Swift supports OOP and Rust doesn't (useful because web standards are object-oriented and it's easier to follow the specs when you can model them in your code), and that Swift supports C++ interoperability instead of just C interoperability like Rust (makes it easier to incrementally move to Swift in an existing C++ codebase).
Rust makes more sense if you were to start from scratch, but the Ladybird devs said that their code is already heavily OOP, so it maps to Swift a lot better.
Also, variety is good, we have Servo in Rust (although I wish they'd make an actual browser around it too).
I use WSL for work as well and in my opnion it fits Microsoft's classic "embrace, extend, extinguish" paradigm.
WSL basically prevents most from requesting from the IT dept, A full blown Linux desktop/Laptop because they will simply say "you want Linux? here have WSL, it is 100% Linux", Which it is really not, WSL's idiosyncrasies from a true Linux Desktop drives me nuts at times.
Chances to find common language with CorpIT going higher if you will bring not just "Linux laptop" request, but request + ready to be used and proven to work tooling for good MDM, integrated into common system; way of limiting privileges (i.e. no local admin), Full Disk Encryption with TPM and other basic things.
The issue has more often been about the security tools and monitoring for Windows, along with account federation. These tend to be more broadly available and polished on Windows and Mac.
I'd prefer a full Linux workstation, but if it's locked down like some Windows I've experienced, I'm not sure it's materially better.
Right now I'm working in a remote, secured, locked down Windows VM... Without WSL or Docker. That sucks a lot.
Damn here I was hoping I was safe on Opensuse TW with Kernel 6.3.2
Thankfully I should be able to rollback with Opensuse's snapper. This is the key advantage of Opensuse TW in my opinion, The BTRFS filesystem alongside snapper helps maintaining a reliable system while on the bleeding edge.
Windows definitely stalls less in those kinds of situations. I remember running both Windows and Linux on my old 2 core 4GB RAM laptop. On Windows I could have easily swapped out almost ten GB of memory and it'd still chug along, whereas Linux would be completely unresponsive after a couple of GB of swapped out memory and require a reboot. I wonder how much the pending MGLRU patch for Linux 6.1 would help with this.
The old Windows Task Manager has code in it that killed other programs to be able to start so the user could kill more programs.
I don't know if this feature still exists in modern versions since memory has increased so much but I always found it to be neat that some developers thought about this.
Sounds like a good idea for systems that are absolutely hammered. `htop` could add a `--kill` flag, or maybe `--kill-ram` / `--kill-cpu` which would first try to kill the most ram/cpu intensive application, and then load the UI.
I've ended up in a couple of situations where servers are so hammered it takes five minutes just to get a ssh session up and running because some process took up all CPU/RAM and was barely able to do anything in the server itself. Something like that could maybe help.
David Plummer wrote the Windows Task Manager, he made a 3 part series on his YouTube channel [1]. It's a fascinating couple of videos, highly recommend to watch.
Right? It's getting worse and worse with each update.
I remember praising mac os memory management back in the days when you could just go to "Applications" folder and open everything at once without a hiccup.
Today, even rebooting with "reopen apps" option is a nightmare.
If that was the case, macOS and windows would own the server market because who would want to have a server that "freezes" under "heavy memory load". MacOS is virtually non-existent and Windows has a small share of the market and performs poorly comparison.
I linked threads on LKML that are directly relevant to this subject, about how this (system becomes nonresponsive under memory pressure) is a real problem that people really experience, with a lot of people agreeing that it is a problem and suggesting various mitigations. Most of those ideas presuppose that memory pressure leads to stalls and are about figuring out how to detect when the system is stalled and making no progress and killing processes after it has gone on for a while (often with userspace daemons). I think MGLRU is maybe getting merged in linux 6.x and will hopefully help avoid the stalls.
you linked a list of all CVEs in macOS. I don't see how this is relevant at all.
The first link is a report that the system becomes nonresponsive under memory pressure and a discussion of that report. In that thread, there was not really any agreement about whether this was a bug, let alone what the bug was, or what the fix would be.
The second wasn’t a bug at all, it was a patch proposed set of knobs to allow users to avoid the problem.
I vaguely remember Solaris had a way to prioritise focused X Window application (IA) while keeping it within time-sharing (TS) scheduling class.
Kernel thread for interactive applications in focused window would then have higher priority than background applications improving responsiveness. I am not sure what manipulated the priority, but I assume Xsun (X Window server) did it.
Ok. I got it. Literally speaking there are two (maybe more?) known bugs. Do we know how many are there for Windows and macOS? I get freezes every now and then under macOS, so there _might_ be memory management issues there as well.
My point stills stands because I believe that the bugs you posted are largely inconsequential. Bugs could be very well been patched by now (or not). My guess the fix won't uptick the % of linux in desktop or server market.
IMHO "the truth is in the pudding": if the largest share of mobile OS's is based on linux (android) and largest % in servers in again based on linux, memory management is overall good enough - otherwise the market share would have dropped considerably.
UPDATE: Revisiting the thread question... I'm barking at the wrong tree. The question wasn't about relevance and market %. Your comment is to the point.
This is a gross generalization. And I'm not sure where you are picking up those values from as well or their accuracy, for Flask is ~15,000 on uWsgi or Gunicorn? or the default werkzeug dev server? How you deploy matters very much I'm sure you'd understand.
However, Ultimately development teams make do with the skillset they have and saved development time is saved money. Who cares of the toolset, Most programmers forget about the business objectives ultimately. Instagram's backend was originally Django, they managed just fine for a long time. Using C++ is pretty overkill even for a simple API project and potentially a huge waste of developer time, people seem to forget developer time is expensive.
I don't think it's fair to call it a gross overgeneralization; good software engineering is being able to evaluate and select the right tool(s) for the job than try to bastardize their fave lang into everything.
The numbers were from skimming TechEmpower's benchmarks. I don't have a horse in the race as I don't do (much) web dev but I found the disparity amusing even if the reality isn't quite so bleak due to, as you mentioned, many other factors before you even hit the application itself.
Ultimately I agree with you, I'd rather see someone use a framework they're comfortable with if it makes their life easier - but I won't lie to them and pretend it's optimal.
There is a lot of good things to say about Python which is a fairly nice language but I feel it is messy on every platform. Tooling makes the situation bearable nowadays but that's definitely not one of Python strong point.
Yes, contrary to the US which isn't corrupt, right.
I am neither american nor russian by the way. And although my own country is officially not really corrupt, we also have our fair share of lobbies and non-prosecuted crimes when someone higher up fucks something up.
EDIT: Looking at the downvotes I guess people think I hate the US while defending Russia or whatever. Actually I think every country or rather it's government has flaws with intransparency or legal corruption, just in different areas. US has shady financial things, Russia is apparently in the hacking space, my country has it's shady areas as well etc.
Don't take my comment as an attack towards the US as a whole or as a way to say Russia does nothing wrong.
The poster was expressing that they're shocked, saying what a corrput state Russia was. And I don't quite understand why they're shocked and presumed that they're from the US.
I didn't try to deflect by saying "Russia isn't a dangerously corrput state because look at the US", I tried to say "Why are you shocked about Russia when your own country has it's problems with corruption too."
Hope that makes sense and that I'm now not registered as a russian astro-turfer.
When attacking Russia for a specific thing, bringing up the misdeeds of the US are a distraction, and "whataboutism".
When comparing the morality of the two nations (or criticising the "world police" status of the US as hypocritical) recalling American misdeeds is appropriate.
In the case the post was "what a corrupt state", attacking character of Russia generally, hence it's appropriate. It's worth pointing out that OJ Simpson published a book "If I did it", which could be seen as morally unacceptable too - but then there would be a difference between "that's terrible" and "America is terrible".
How is this particular instance "corruption". The guy violated US laws which Russia do not "harmonize". This is similar to a US-based person who is attacking Putin in the media. It's illegal in Russia, but would that make the US extradite him?
This reminds a scene from the TV show, the wire when one of the main criminal character hosts a meeting with other gang leaders and a member of his gang is recording minutes, the main character says "Are you taking notes on a criminal fucking conspiracy?".
Apparently none of the intelligent executives at Apple/Google figured this out.