Hacker Newsnew | past | comments | ask | show | jobs | submit | jonnytran's commentslogin

Some Rust libraries have started to implement unioning multiple error types and handling a subset of them while propagating the rest. But as far as I know, the idea hasn't caught on. Here are the crates I know of.

https://github.com/komora-io/terrors

https://github.com/mcmah309/eros


Is it time for the literate programming renaissance?

Have you tried Clojure?


I admire Clojure, and Rich Hickey's deep experience and knowledge of languages that he brought to the table. Clojure bottomed out for my comparison.

Perhaps an expert could strike a better balance, but it struck me and my various agents that we'd be fighting the language to make it faster.

https://github.com/Syzygies/Compare


This has been the best grounded approach of introducing Lisp to the masses, myself included. Rich Hickey made a language that is the most well positioned in this new LLM era.


Clojure isn't known for performance.


It has very good throughput since it's targeting the JVM. JEP 514 and JEP 515 are also making AOT a real thing, reducing warmup times. This means user will not even have to use the awesome Babashka project for scripts or drop in GraalVM.


Somebody save Kathy Sierra’s blog! https://headrush.typepad.com/ I’ll try to archive it. I love her work. But even if I save it, it should live on somewhere else.


Submitted an ArchiveBot job for it:

https://wiki.archiveteam.org/index.php/ArchiveBot

Click here if you want to help preserve all of TypePad when the DPoS starts:

https://wiki.archiveteam.org/index.php/ArchiveTeam_Warrior


Have you seen Scrappy? It’s still early, but it’s the most interesting thing I’ve seen in a while.

https://pontus.granstrom.me/scrappy/


Pinboard was a clone with a different business model: users actually paid for it.

Fast forward, and delicious died, only to be acquired by — you guessed it — Pinboard [1]. Because Pinboard was actually serving its paying customers, it just kept trucking along.

[1]: https://blog.pinboard.in/2017/06/pinboard_acquires_delicious...


Yes, I did this at my startup. Fast forward a few years, and now the company has more Rust code than Python, and the majority of the company's IP is in Rust.

I suggest beginning with small, one-off things that don't have much impact. People, even developers, tend to shy away from things that aren't familiar. By introducing Rust in a small, low-risk way, it helps people get familiar with it. They get to build familiarity with building Rust projects, navigating the project structure, and reading docs. I submit pull requests that get people to read Rust code, even if it's just to say "looks good". Their familiarity builds slowly over time, meaning they'll be less triggered by seeing Rust in a larger, more impactful project down the road.

How do you boil a software developer? Slowly.

If they give Rust a chance and your team has a champion to guide them, they'll see its merits. I think a lot of people come to Rust for the performance, but that's not why they stay.


I am in the process of oxidizing some stuff at work with Rust. I too am starting from small pieces, things that I can incorporate and call off python directly. Also relying a bit on codegen to blend the two languages and slowly remove all python code.


What domain are you working in where Rust is the replacement for Python?


Performance, portability, reduced memory use.. even containerization which can benefit from all of the above.


Those aren't really domains. Chances are if portability was a concern to you, you didn't start your project in Python.


Yeah, this is just baffling. A team can be so averse to learning new tools, good ones too, that they would rather dump their time into rewriting. Instead of getting paid to level up their skills, they'd rather block forward movement of the company's goals to maintain the status quo.


I'm a bit surprised at this, too.


How long ago was that?


Can’t say, sorry. Apple get upset if people reveal how long things were in development.


Better resources, like what? Please share links.


This is a great series if you’re looking for a tutorial. https://lettier.github.io/3d-game-shaders-for-beginners/inde...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: