Go has quickly won me over. Fantastic language with killer perfomance.
You mean the editor written in electron, the framework that takes Javascript to even more ridiculous levels - i.e a desktop app?
Go has quickly won me over. Fantastic language with killer perfomance.
I've heard good things, but isn't it garbage-collected and devoid of generics? I'd rather put my eggs in the Rust basket since it seems to be the heir apparent to C++.
Unless a language implements malloc() and free(), this is the case for any language. Your point?but isn't it garbage-collected
How is that a bad thing? Generics are an anti-pattern for high performance code. Strong typing is strong performance.and devoid of generics
I like Rust quite a bit. It doesn't have enough weight behind it though. Go has Google behind it and that makes a huge difference. Rust needs some critical mass behind it before it'll really take off.I'd rather put my eggs in the Rust basket
Them's fightin' words!
Seriously, though, I never understood a preference for MORE typing.
+1 to this and someone's earlier comment about weren't they always hard to hire.Could it be that it is not in decline, but that cloud and IoT and other 'non-embedded' is growing faster ATM?
The exact classes depend on the university, but there's a long distance between the CPU architecture they teach in school and the real world of high performance programming. A very, very long distance when GPUs get involved. Knowing some MIPS assembly from reading the book is the least important thing in the world. For laughs, try asking one of these fresh grads which order to iterate over a 2D array.I didn't graduate college (barely) but the CS degree I almost got involved us learning architecture, writing MIPS and x86 assembly, implementing data structures in C89... fun times. I will say that probably half the people in these classes just didn't get pointers and still somehow managed to graduate, but it's not as though this stuff is some type of dark art. I'm 27 if that means anything.
I was not questioning the use of Node.js, as we have React/Redux code here as well that is brand new. My issue is with the candidates who think they're accomplished programmers because they wrote a few hundred lines of code gluing together dozens of Node packages, and then list that as something they're good at. Same goes for the Unity game developer crowd, who couldn't patch together the simplest scene without a whole lot of helper functions and framework.To your comment about Node.js though... as much as I despite JS and never thought I'd see the rise of server-side JS, it does have its uses. C is an inherently unsafe language, and 95% of the software being written today is some boring line-of-business application or a hypebeast web app that some "founder" envisioned during an Ayahuasca retreat that his rich parents paid for. Running the same language on the client and the server allows you to share domain objects and business logic, and frameworks like React also give you server-side rendering for SEO and faster load times. Javascript and npm may blow chunks, but it's what we have and if you use Typescript it's not so terrible.
In your ideal world would we be writing microservices in C?
Some of us consider that to be a negative ¯\_(ツ)_/¯Go has Google behind it and that makes a huge difference.
You had toggle switches? We had to rotate the magnets by hand!You kids and your newfangled programming languages. When I was writing embedded code, it was assembler all the way. Except we reverted to machine language on the factory floor, where there were no development tools — just rows of toggle switches.
Magnets?You had toggle switches? We had to rotate the magnets by hand!
I would like to like Go but it's not for real-time programming (Google people claim their gc is down to 20 millisecond levels but that's an eternity with real-time systems) plus it's too much tied to Google's interests. But it's good for micoservices *). Otherwise I put my hopes on Rust so we could finally put aside all the issues with C/C++ security and memory issue.Go has quickly won me over. Fantastic language with killer perfomance.
VSC is not that bad performance-wise even if it's written in Javascript/Typescript. The issue is Electron, if you have one instance the VM traffic is decent, multiple Electron instances (Slack, other apps) and suddenly you wonder why your high end computer is constantly paging.You mean the editor written in electron, the framework that takes Javascript to even more ridiculous levels - i.e a desktop app?
VSCode is actually pretty nifty though my tools of choice these days are from the JetBrains family, CLion for C++, Pycharm for python, GoLand for go.
Otherwise I put my hopes on Rust so we could finally put aside all the issues with C/C++ security and memory issue.
How so?plus it's too much tied to Google's interests
plus it's too much tied to Google's interests
You ducked my question and started to take a swipe at me. Not cool. GCs are the future, get used to liking them or get used to writing C. Or try answering my question as to why you think GCs are bad?I think complaining about generics for performance reasons while giving GC a pass is kinda weird, personally.