Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nercury
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
nercury
8y ago
Small companies won't have resources to create their own content filters. Guess who is going to sell content-filter-as-a-service?
62.
▲
by
nercury
8y ago
I want to reflect on that this is still done without any garbage collector.
63.
▲
What do you think are the most interesting/exciting projects using Rust?
(ncameron.org)
2 points
by
nercury
8y ago
|
0 comments
64.
▲
by
nercury
9y ago
You have successfuly uncovered that Rust is a fundamentally different programming language, instead of a variation of the same. I feel that having learned Rust, any new language similar to Rust would have way lower learning curve. It is qui
65.
▲
In Rust, ordinary vectors are values
(smallcultfollowing.com)
2 points
by
nercury
9y ago
|
0 comments
66.
▲
by
nercury
9y ago
It's futile battle though to achieve both performance and safety in C++: as an example, safety requires avoiding moves, using reference counting, while achieving performance means avoiding copies and passing occasional references aroun
67.
▲
by
nercury
9y ago
While I am avid supporter of Rust, I can't help but feel this post is not right. If Rust is so much better, why not prove it by writing software in Rust, instead of words. After all, if Rust is so much better, the result will speak for
68.
▲
by
nercury
9y ago
I don't get it, because you have just explained how to unit test everything else. Which is way better than nothing. Not sure how it is moot, also not sure how it is related to the article :)
69.
▲
by
nercury
9y ago
It was costing less, now it is a bit more than you say. I think this law forced cheaper operators to make deals with all the other country operators, no one was going to decrease prices, so in the end we got the maxed out price.
70.
▲
by
nercury
9y ago
I remember submitting an early preview F# bug directly to dev email which I got together with compiler crash message related to some obscure attribute handling situation. I remember being very surprised that I could do it, and more so when
71.
▲
by
nercury
9y ago
> I do not support HTTP! You are, in fact, right. But I advise you to read about HTTPS here, so you can more clearly understand the points others are making: https://en.wikipedia.org/wiki/HTTPS .
72.
▲
by
nercury
9y ago
Please stop claiming to support HTTPS when your site breaks perfectly https-compliant browsers.
73.
▲
by
nercury
9y ago
It is fine, because you can't accidentally use modified string on the left.
74.
▲
by
nercury
10y ago
While I also agree that Rust does no better in unsafe code, I think it allows for some sweet careless use of pointers (references) in _safe_ code.
75.
▲
by
nercury
10y ago
No, the reader must not need to read the function to understand how it works. The idea would be that the function names are so good that one does not need to read the function contents, right? But some things are complicated and may not be
76.
▲
Of tantivy, a search engine in Rust
(fulmicoton.com)
3 points
by
nercury
10y ago
|
0 comments
77.
▲
by
nercury
10y ago
Well, you either uniquely mutate, or keep the value immutable. Usually you construct the pipeline to switch between these as you need. If you need to share the result from one mutation to the other, you can do it by passing a simple immutab
78.
▲
by
nercury
10y ago
Yes, it is hard to use mutable shared values Rust. This is exactly the point.
79.
▲
by
nercury
10y ago
Thanks for your comment, looks like my knowledge is still lacking here. Although I hoped that it would be enough to give an overview, without going into much detail. I have removed a bit where I say that rvalues are same as returned values,
80.
▲
by
nercury
10y ago
When I started out (before 1.0 release), the documentation was very poor, I was coming into Rust with 5+ years of dynamic language experience (PHP, JS), my C#/C++ knowledge was rusty. It took me a month (of my free time) to start feeli
81.
▲
by
nercury
10y ago
I use Rust primarily because it has very precise mutability semantics: things are either immutable or uniquely mutable. It is much easier to understand what can or can not happen to structures when they are passed between functions, as oppo
82.
▲
by
nercury
10y ago
Rust module system is similar to C#: mod is namespace, extern is assembly reference. The difference here is that there is no separate "project" file, so all references to inner module files need to be described in the parent file.
83.
▲
by
nercury
10y ago
This is fantastic news! This was the reason I kept using SDL2_image - I had too much trouble compiling Rust image crate on windows.
84.
▲
by
nercury
10y ago
Reading the source code of this is sure sobering. All files and code lines are there for the single purpose - to ship the game.
85.
▲
by
nercury
10y ago
Few recent posts that I can see are about the compiler internals, design of a tracing GC and a crypto problem. These things might just be complicated anyway :)
86.
▲
by
nercury
10y ago
Rust safety is ultimately a productivity boost. For example, if I have a big string, I may create a hashmap where both keys and values are references to some portions to that original string. Then, I may pass this hashmap to another functio
87.
▲
by
nercury
10y ago
I am not sure it's really a split when you can build stable on nightly. Nightly is great for experimentation.
88.
▲
by
nercury
10y ago
I was commenting on the methodology as I heard and watched it explained by the author (Robert C Martin), as well as the way it was presented in his videos. TDD workflow is fine; it's not thinking about the pink elephant (the source cod
89.
▲
by
nercury
10y ago
TDD presents a paradox that requires split-brain thinking: when writing a test, you pretend to forget what branch of code you are introducing, and when writing a branch, you pretend to forget you already knew the solution. It is annoying as
90.
▲
by
nercury
10y ago
Initial work on specialization has already landed on nightly and is backwards compatible. AFAIK, there are no plans to break that.
More ›