[-] leviosa@programming.dev 5 points 10 months ago

Are there precisely 37 developers in that team??

[-] leviosa@programming.dev 3 points 10 months ago

Old habits die hard, that's the first alias on my list in .zshrc!

0
submitted 10 months ago by leviosa@programming.dev to c/cpp@programming.dev
[-] leviosa@programming.dev 6 points 10 months ago

Python is already popular so Mojo making that ecosystem much faster, safer and easier to deploy could be game changing when it's fully formed. There are also armies of existing Python developers out there for businesses to tap into and it's an easy language to pick up.

On their roadmap page, it looks like C++ interop is going to be a first class citizen too, further opening up the ecosystem to existing high performance libraries:

Integration to transparently import Clang C/C++ modules. Mojo’s type system and C++’s are pretty compatible, so we should be able to have something pretty nice here. Mojo can leverage Clang to transparently generate a foreign function interface between C/C++ and Mojo, with the ability to directly import functions:

from "math.h" import cos

print(cos(0))
[-] leviosa@programming.dev 4 points 10 months ago

Like how OOP was the best thing ever for everything, and just now 30 years later is proven to be actually bad.

Alan Kay coined the term 57 years ago and we have to look at the landscape back then to see just how much OOP has actually influenced pretty much all languages, including ones that distance themselves from the term now. Avoiding shared global state. Check. Encapsulating data and providing interfaces instead of always direct access. Check. Sending signals to objects/services for returned info. Check check check.

[-] leviosa@programming.dev 2 points 10 months ago

Windows shared libs could do with having an rpath equivalent for the host app. I tried to get their manifest doohickeys working for relative locations but gave up and still just ~~splat~~ install them in the exe directory.

Aside from that shared libraries are great. Can selectively load/reload functions from them at runtime which is a fundamental building block of a lot of applications that have things like plugin systems or wrappers for different hardware etc. Good for easier LGPL compliance as well.

[-] leviosa@programming.dev 1 points 10 months ago* (last edited 10 months ago)

Even the phrase "Russian sympathizer" is propaganda. Simple messaging sinks in.

I just have an interest in the wars around the world that the West (the UK, USA, Israel, France) are magically omnipresent in and around. With of course completely coincidental geopolitical prizes to win, as 'we' play Team NATO World Police around the world after the first rounds of our Confessions of an Economic Hitman tactics fail. The same old players pop up in every new episode of their perpetual war plan.

This is another episode. All wrapped up in a completely independent narrative with a different cartoon mad man to fight and a nice humanitarian angle so that people get all emotionally attached and don't join the dots.

[-] leviosa@programming.dev 5 points 10 months ago

I would take what our jingoistic media and talking heads say with a very large pinch of salt. It's quite disrespectful to Ukrainian soldiers to say they've been facing an "antique show of an invasion", not to mention Russian engineers. Propaganda aside, both sides have fought hard in what has been a very modern war.

[-] leviosa@programming.dev 8 points 10 months ago

Every country uses a combination of older and newer equipment in any war. The war propaganda wizards just try to make things like that look unique to Russia.

[-] leviosa@programming.dev 7 points 10 months ago

... a browser-based development experience built on Google Cloud...

Fuuuuuck thaaaat.

[-] leviosa@programming.dev 1 points 10 months ago

I'd never heard of that, thanks for the link!

[-] leviosa@programming.dev 27 points 10 months ago

brainfuck is a member of an exclusive club of languages where it's much easier to write a compiler for it than to read a program written in it.

[-] leviosa@programming.dev 1 points 10 months ago

I use Manjaro (kindof btw) with the Gnome desktop and didn't know there were that many. Not all are installed by default here anyway.

view more: next ›

leviosa

joined 1 year ago