HNHacker News
TopNewBestAskShowJobs

orangetuba

163 karma · joined February 18, 2022

submissionscomments
orangetuba··on Why Rust is a great choice for startups
2-6 weeks? I wish I could learn Rust in that time.
orangetuba··on Why Rust is a great choice for startups
No null pointers, and no data races when you're working with threads.
orangetuba··on Rust Is Hard, Or: The Misery of Mainstream Programming
I wonder what approach acts as the best mentor for someone who wants to eventually develop a good mental model for how systems work. The C approach where you suffer at runtime and then have to debug ferociously, or the Rust approach where your mentor hits you with a stick all day?
orangetuba··on Rust Is Hard, Or: The Misery of Mainstream Programming
If the benchmark is "projects that are known for idiomatic C", such as Redis or Sqlite, we know that even they introduce memory corruption errors that lead to vulnerabilities every now and then. You're not better than them.
orangetuba··on Zig, Hare, Odin, Vale, V, Jai
Why have all modern operating systems (that have more than 100 users) moved away from GCed languages?
orangetuba··on Zig, Hare, Odin, Vale, V, Jai
"C is slower at concurrency when implemented naively"

That's a bit like saying that a Formula 1 car is slower than a Toyota Yaris when operated by a poor driver? What are you implying here?

So you're saying that with languages without GC, you can tailor your own GC that is a good fit to the problem you're trying to solve? Or that when the problem you are trying to solve is a good fit for the GC in your language of choice, you get good performance with less effort?

That's a huge list of databases that I've never heard of. In a sample of the categories, I looked for the most performant one, such as "NoSQL" where the one that comes out as best on benchmarks was Mongo DB which is written in C++. Why are all the number on spots on benchmarks written in C or C++ when the potential of GC languages is higher? Or maybe I'm misunderstanding.

orangetuba··on Zig, Hare, Odin, Vale, V, Jai
I have looked at some benchmarks, and in nearly every benchmark I can find, Go takes 2-4 times as long as C to perform the majority of tasks (except when it is much, much slower).

I believe the original Minecraft is written in Java(?), but it's not really competitive with something like Unreal Engine.

Out of curiosity, which databases are written in GCed environments?

orangetuba··on Zig, Hare, Odin, Vale, V, Jai
Do you predict a future where drivers, operating systems, databases, browsers and games etc. will be written in a language such as Go?
orangetuba··on Zig, Hare, Odin, Vale, V, Jai
Good to know. I will keep that in mind and maybe have a look at Zig.
orangetuba··on Zig, Hare, Odin, Vale, V, Jai
Drivers, operating systems, databases, browsers and games written in garbage collected languages? How will they manage to be competitive? C is currently one of the most used languages in the world.

I don't think that they are trying to replace Java or Python, but C, for the areas where C is used today.

orangetuba··on Zig, Hare, Odin, Vale, V, Jai
Someone asked pretty much the same question on reddit, apparently:

https://www.reddit.com/r/C_Programming/comments/nqkn93/what_...

orangetuba··on Should I major in computer systems or AI?
I had a lot of problems choosing between the two and I went for AI. I don't regret my choice, even though I mostly work with low-level programming these days.

I have some sort of FOMO when it comes to this question, and I've realized that I had to sort of pick both. Eventually I hope to be able to contribute to optimizing ML systems by use of experience with systems programming.

orangetuba··on GNU Guix System
I don't have a clear overview of the exact timeline, but at some point he created the FSF, the original GCC, Emacs, GDB, GNU Make, parts of the GNU userspace tools, the predecessor to Wikipedia, the copyleft concept and the GPL license among other things. How does it compare to your contributions?
orangetuba··on GNU Guix System
Agreed. Actively trying to harm other contributors (Richard Stallman) is the problem here.
orangetuba··on GNU Guix System
I am all for discussion. The crusade and their bad faith interpretation of his opinions are piggybacking on the sometimes overly eager cancel culture of today.
orangetuba··on GNU Guix System
A lot of people disagree with that.

https://rms-support-letter.github.io/

If you think it's alright to join an organization and then go out of your way to backstab its founder because his social skills are lacking, then you're free to do that.

orangetuba··on GNU Guix System
Objective according to you?

https://rms-support-letter.github.io/

orangetuba··on GNU Guix System
I have nothing against the hardline stance the FSF holds, but I cannot support someone who joins an organization and then starts a crusade against its founder over his personal political views. I don't think politics belongs in open source software.
orangetuba··on How I Built Zig-SQLite
Yes, but Rust offers something more than just modernizing C++. The borrow checker provides something entirely new that has the potential to make a huge impact.
orangetuba··on Internet drama in Canada
Why is there so much strange stuff going on in Canada these days?
orangetuba··on Python Language Summit: Python Without the GIL
Performance is not binary. If you can be productive with Python and get closer to your performance goal, you get the best of both worlds. A lot of people who aren't primarily programmers don't have time to write everything in C++ (or keep up with development in that area). A more performant Python is a huge win for everybody.
orangetuba··on Chat control: EU Commission presents mass surveillance plan on May 11
I am not surprised. The EU consists of a bunch of bullies that force their views on member countries. Abide, or be sanctioned and bullied into compliance. Leaders of members countries are being bought to encourage membership. And when the people vote against it, there will be a new vote next year. And once you've joined, you can't leave out of fear of sanctions.
orangetuba··on Use fzf for tmux session switching
Imagine you're at work, and you have tmux running with 15 sessions to various machines. You go home, connect to that tmux session and you can keep working without having to re-connect/SSH and log into 15 machines and just continue where you left off.

It's sort of like being able to RDP into the machine you were working on except it's text-based.

orangetuba··on Bugs that the Rust compiler catches for you
Android has a lot of Rust now (the bluetooth stack was rewritten in Rust), npm is being rewritten in Rust, Servo is written in Rust, Dropbox' sync engine, Amazon AWS Firecracker, Discord is replacing Go with Rust, Google's new OS Fuchsia has a lot of Rustl. There are also tons of companies looking for hire Rust programmers, e.g. Apple, Intel, Microsoft... there is work to allow for development of drivers in Rust in the Linux kernel.

Compare this to Haskell. Where is it being used? What is it replacing?

orangetuba··on Bugs that the Rust compiler catches for you
Haskell and Rust both support linear types already.
orangetuba··on You Should Compile Your Python and Here’s Why
I feel like most modern languages are so uninspiring. I wish there was some popular Lisp or something (I guess Clojure is pretty close, but JVM).
orangetuba··on You Should Compile Your Python and Here’s Why
This is absolutely incredible. Not only is the project amazing, but glyph has a way of communicating technical stuff that is on another level.
orangetuba··on Using Windows after 15 years on Linux
I should probably consider getting an AMD GPU, but I might as well get a new computer, then.
orangetuba··on Using Windows after 15 years on Linux
I have used GNU/Linux on a daily basis since 1997. And I must say that I am very disappointed with Linux on the desktop. I currently have two computers (that I was given by my employer) and there is a lot of trouble. On the laptop, the trackpad randomly stops working. If I kill -HUP xorg, it starts working again. The audio system has taken a lot of effort simply to keep it functional between distro updates.

The desktop machine, sadly has an nVidia card. Every time the screensaver comes on and provide credentials, it seems to operate at 1% capacity for a time period (that depends on how long I've been away from the computer).

Installing the nVidia drivers caused my machine not to boot any more, because SecureBoot was enabled. I tried to do the kernel module certificate signing, and failed (this process is a useful thing to present to someone who says Linux is ready for the desktop - good luck when grandma wants to sign kernel modules). I had to disable SecureBoot eventually, and now it nearly works, except the part about the screensaver. Linux is great, but the desktop system is a tragedy.

orangetuba··on Kerouac and Buddhism
So the world's best football coach isn't very good, because he's fat and slow?
← PreviousPage 2 of 3Next →