|
|
Log in / Subscribe / Register

Just wait

Just wait

Posted Jun 23, 2024 8:52 UTC (Sun) by Wol (subscriber, #4433)
In reply to: Just wait by liw
Parent article: Rust for filesystems

> But I fear there's usually more resistance to change than just having to learn a new language or a new tool.

It usually involves changing your entire way of thinking.

Look at that post a few days back over P4 - where the comment was "someone comes along thinking they can rewrite it in C", and several man-years of effort later, they realise that actually, someone using a domain specific language can do double the work in half the time, if not even better.

Going back even further, someone commented people who've learnt Rust usually make far better C programmers because, even though C doesn't enforce memory safety etc, because Rust insists that you code in memory-safe ways, they code memory-safe in C anyways.

It's like me and databases - 4th normal form is the best for a whole bunch of reasons, but because my experience is with a database where 4th normal form was the OBVIOUS way to do it, when I'm forced to work with relational I do it without thinking. Unfortunately I'm usually working with stuff designed by others where I'm thinking "what the hell were they thinking?".

Cheers,
Wol


to post comments

Just wait

Posted Jun 23, 2024 17:48 UTC (Sun) by Kaligule (guest, #167650) [Link] (2 responses)

Please, what is P4?

Just wait

Posted Jun 23, 2024 19:37 UTC (Sun) by softball (subscriber, #160655) [Link]

They are possibly referring to: https://lwn.net/Articles/977310/

P4

Posted Jun 24, 2024 22:04 UTC (Mon) by riking (subscriber, #95706) [Link]

https://p4.org/ is a programmable packet processing specification language. You use it to write firewall or routing rules, or queue dropping priorities, or whatever the hardware of the router you bought allows you to load a P4 program to do.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds