Porting perfectly working C code that has been in production for decades (and has a great track record wrt to security fixes) to rust is more or less an obfuscation challenge.
HN user
happyweasel
Same ,I switched to cursor. I told it how to invoke msbuild and it can edit away without needing a native Visual studio plugin.. no problems at all. Target language c++
wow, basic stuff c++ had since the 80s. congrats. clap, clap, clap. now can someone please make this app that is running with -Xmx360m not use 700mb of resident memory ? asking for a friend.
You go to the gym to lift. Not to talk. You may talk shortly if it is related to something you need to continue your workout. Apart from that you do not talk. End of story.
Used this kind of font for output on the 320x200 screen all of the time in the late 80s while coding 68k asm on the Atari St
In the early 1990s, C++ had not yet been standardized by ISO, so your argument doesn’t apply to that period.
Let's see how this unwrap()s in production scnr
hmm how can I reuse this useful Go library in python... Oh I can't.. hmm and how can I reuse this useful java library in php ? Oh I can't. Oh and which of the programming languages you mentioned can and do use C libraries? All of them.
Reminds me of that coworker who thought that OpenCV was basically written in python.
does your gtx 1060 help in any way for the NAS use case?
BUT there's another piece that makes or breaks these tools... whether they can >build a community around them and stick around for years...
Why ? who cares? if the tool solves the problem, you need a community maintain it. And that's it.
Oh, let me guess... The protests were organized by groups that get their funding from the NED or other Western sponsored NGOs ? (Asking for a friend)
I always wanted to check out https://qskinny.github.io/ it looks compelling and sticks to c++
vcpkg it
I share the same perspective .. I was also wondering how UDA handles the problem of evolving schemas, "old clients" communicating with newer server or vice versa.
The truth is that although the AWS Load Balancer Controller is a fantastic piece >of software, it is surprisingly tricky to roll out releases without downtime.
20 years ago we used simple bash scripts using curl to do rest calls to take one host out of our load balancers, then scp to the host and shut down the app gracefully, and updated the app using scp again, then put it back into the load balancer after testing the host on its own. we had 4 or 5 scripts max, straightforward stuff..
They charge $$$ and you get downtime in this simple scenario ?
Absolutely. Information can no longer be retrieved via internet search. Discord and Slack are effectively silos.
IMHO, Deutsche Linux-Distribution (DLD) was the first german linux distribution (first release in 1992).
Buggy/incomplete Openapi codegen for rust was a huge disappointment for me. At least with grpc some languages are first class citizens. Of course generated code has some uglyness. Kinda sad http2 traffic can be flaky due to bugs in network hardware.
mfc has resizable ui layouts called Dynamic layouts (since the 2015 update?), and for wxwidgets there is wxformbuilder. Most stuff for mfc can be set in the dialog builder wrt to resizing, or in code. I cant remember doing manual pixel layouting ever, there are dialog base units or sth like this. People have been setting the ui to 120dpi from the 96dpi standard already decades ago. And the dialogs automatically readjusted without recompiling.
I also recently found out my mfc tools are per monitor high dpi aware without any interference from my side.
The only real comparison would be a rewrite in modern c++ and then compare that to the rewrite in rust. Also the author mentioned that the original code had no tests at all. Well, good luck.
Back in the summer of 1999 [..] We went all digital. We were ahead of our time.
Well I had a DAT recorder in 1993. Even a DAT walkman.
Mybatis Generator worked nice for java and MySQL 15 years ago..
My Productivity tanked when using Rust but I have not written 20k Loc yet. Ownership gets messy when you have a complex mutable application model (worse: oop written according to SOLID principles). At that Point,Just give Up and use ref counting (which you would use in c++ anyway..).
Also scary for Rust.
5) Well how much of those kernel-level drivers we rely upon ARE written in a memory unsafe language ??? Like 99% ?
And we are not crashing and dying every day?
Sure, Rust is the way to go. it just took Rust 18 years to mature to that level.
Also, quite frankly, if your unwrap() makes your program terminate because an array out of bounds isn't that exactly the same thing ? (program terminates)
But IMHO if we are hopping along a minefield at this moment every second of every day, well... If this is the worst case scenario, yeah it's not that worse after all.
MIDI Maze :)
Can someone please explain to me what this does? I have 25y exp in the industry but I did not Understand the use cases by reading the GitHub page..
I hope you ran away from that company. Your change was too disruptive, because it made other people look stupid, like they didn't grok basic data structures. I think everyone overlooks obvious solutions to everyday problems every now and then, but the way they reacted speaks volumes...
If you have a codebase with lots and lots of tests, you are not in a bad place. Remember legacy means a codebase that works and solved and still solves problems over decades. In a sense,a successfull software project implies it will be marked as legacy. Always prefer legacy over Hype.
Do you know the difference between CAD and polygonal 3d modellers ?
btw, blender always existed. Like since 1998?