Originally posted by Shimon
View Post
Announcement
Collapse
No announcement yet.
Making The Case For Using Rust At Low Levels On Linux Systems
Collapse
X
-
- Likes 1
-
-
Originally posted by caligula View Post
Sure, the Ada compiler generates native binaries, but are they really comparable? Ada's feature set is close to Rust's main concepts?
Emacs is probably as good as it gets free software wise for VHDL and ADA but I don't grok it.
Comment
-
Originally posted by cb88 View Post
Because ADA derives from Pascal... VHDL also hails to ADA syntax. The problem is that it is so verbose that it is cumbersome...this could be alleviated somewhat with better tooling but it either doesn't exist or costs an appendage and half your offspring.
Emacs is probably as good as it gets free software wise for VHDL and ADA but I don't grok it.
Comment
-
Originally posted by Shimon View Post
Rust is not OO which can be a hard sell to C++ or Python veterans.
OO programming(in the Java sense) was a mistake.Last edited by peppercats; 10 June 2016, 04:09 PM.
- Likes 2
Comment
-
Originally posted by atomsymbol
OO through Generics?
Like if you want a function that operates on something that implements/"inherits" a class/interface/trait that implements addition, you'd do something like:
Code:fn do_thing<T: Add>(x : &T, y :&T) -> T { x + y }
Obviously, you could also just implement functions directly with structs without needing traits and call those functions in a way consistent with other OO languages. But that's not very interesting by itself. Traits is what really gives Rust the ability to do interesting things with objects.
See also the HasArea example in the Rust book:
Comment
Comment