Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmstick
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
mmstick
10y ago
Seems I can't reply to your other comment, so I'll reply here. How can you say that my naive implementation is not naive? What is not naive about it? It's very naive. It's basically the same naive code that you were writ
122.
▲
by
mmstick
10y ago
The problem with your concept is that C does not offer an official standard library and compiler suite, so you're trying to compare the C spec to the Rust standard library + compiler. The actual Rust API has changed very little since t
123.
▲
by
mmstick
10y ago
Not a particularly fair comparison though, as that C binary is loading dynamic libraries that are already in memory. Case in point: that C program needs the C standard library, but by default that library (glibc) is dynamically loaded. Rust
124.
▲
by
mmstick
10y ago
The only thing the RLS is going to provide is just faster completion for the most part. All the IDE's in existence right now are making use of racer for completion and clippy for linting quite well without it, especially Atom.
125.
▲
by
mmstick
10y ago
Atom does support Projects. The left panel is where you add your projects, which is created via cargo and has integration within Atom. You can hide the projects panel by pressing Ctrl + '\'. There's an integrated terminal if
126.
▲
by
mmstick
10y ago
Did you not check out `nalgebra`? https://docs.rs/nalgebra/0.10.1/nalgebra/
127.
▲
by
mmstick
10y ago
Your Rust example is kind of odd. Did you not see the linting errors in your editor or from the compiler? You can basically boil it down to just two lines of Rust. https://gist.github.com/mmstick/a8316ba0514f9d9ab33b18f
128.
▲
by
mmstick
10y ago
There does exist an entire family of official `num` crates. Chances are that what you are searching for is already done.
129.
▲
by
mmstick
10y ago
Rust's had great IDE support for more than a year now. - There's Atom with Tokamak, which you must also install racer and clippy via cargo to get rapid in-line linting. - Then there's Visual Studio Code with RustyCode which y
130.
▲
by
mmstick
10y ago
This is only because the Rust implementations are using particularly slow code paths, either because SIMD/AVX optimizations requires a nightly compiler, some optimizations would require unsafe code, or that other languages are using pa
131.
▲
by
mmstick
10y ago
I was writing software in Go for a year before I switched to Rust. I've not felt a need to touch Go since. Basically, anything you can do in Go, you can also do in Rust, but Rust will let you do it with higher efficiency and with signi
132.
▲
by
mmstick
10y ago
Rust has by far the best tooling and documentation support out of all languages I've seen. Library support is great too, at least in that Cargo is an amazing platform and it's too easy to import C libraries. What do you feel is ac