Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgaunard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
211.
▲
by
mgaunard
9mo ago
force inline and related attributes are critical to get the right decision made consistently. There's also flatten; unfortunately no equivalent with MSVC.
212.
▲
by
mgaunard
9mo ago
Are those performance measurements meant be impressive? Seems on par with something threwn around with Python in 5 minutes.
213.
▲
by
mgaunard
10mo ago
asciidoc or rst/sphinx, are tools which are much better suited to build software documentation with cross-references etc.
214.
▲
by
mgaunard
10mo ago
The main issue is that Markdown remains a pretty primitive language to write documents in, with dozens of incompatible extensions all over the place. I don't know if it's the best format to focus on.
215.
▲
by
mgaunard
10mo ago
That's quite inaccurate. It needs to remain destructible, and if the type satisfies things like (move-)assignable/copyable, those still need to work as well. For boxed types, it's likely to set them into some null state, in w
216.
▲
by
mgaunard
10mo ago
Even if modern browsers lean more on kernel features, initially the sandboxing in browsers is implemented through a managed runtime.
217.
▲
by
mgaunard
10mo ago
If you work on meaningful tech projects, where tech is a real driver to the businesses and there are genuine challenges to overcome, then you can't afford slop. I say that, but then it's true I have seen businesses be successful d
218.
▲
by
mgaunard
10mo ago
Browsers are sandboxed, and working on the web browsers themselves is a very small niche, as is working on kernels. Software increasingly runs either on dedicated infrastructure or virtual ones; in those cases there isn't really a case
219.
▲
by
mgaunard
10mo ago
An elitist view disconnected from reality. Even something like game theory was only developed and earned nobel prizes because of its applications to making money in finance.
220.
▲
by
mgaunard
10mo ago
It's well established that practical project work is what works best at producing tangible results, and most institutions that aim to produce the best programmers focus on that. I can understand this is not the approach preferred by ac
221.
▲
by
mgaunard
10mo ago
As a technical manager the reason you accept things that are not quite what you had in mind is because you delegate the responsibility of the correctness to the employee who is gonna be owning that area, maintaining it and ensuring it works
222.
▲
by
mgaunard
10mo ago
Good software isn't about quantity but quality of the code. AI cannot produce better quality code than someone who is actually qualified in the problem domain. What I've seen AI be very good at is creating a lot of legacy code ver
223.
▲
by
mgaunard
10mo ago
It's more useful to practice programming through projects. Then once you feel you're missing the knowledge for a particular problem you're trying to solve, read up about that one.
224.
▲
by
mgaunard
10mo ago
Academic types are often not interested in practical things and getting their hands dirty.
225.
▲
by
mgaunard
10mo ago
AI for coding itself is a fad
226.
▲
by
mgaunard
10mo ago
Right, which is a measure which is heavily biased towards memory safety bugs.
227.
▲
by
mgaunard
10mo ago
Only serious if you care about protecting from malicious actors running code on the same host.
228.
▲
by
mgaunard
10mo ago
Malaysia to South Africa is an interesting one, why is this route so prevalent?
229.
▲
by
mgaunard
10mo ago
I suggest you read up about encapsulation. Have a good day and happy new year!
230.
▲
by
mgaunard
10mo ago
It's defined by whatever you put in your const overloads. const is primarily a type annotation that affects overload resolution. You must be confused because Rust has no overloading to begin with.
231.
▲
by
mgaunard
10mo ago
I don't think 70% of bugs are memory safety issues. In my experience it's closer to 5%.
232.
▲
by
mgaunard
10mo ago
Quite easy to outperform a parsing library when you're not actually doing any parsing work and just memory-mapping pre-parsed data... That being said storing trees as serializable flat buffers is definitely useful, if only because you
233.
▲
by
mgaunard
10mo ago
By decoupling your application logic from your UI toolkit.
234.
▲
by
mgaunard
10mo ago
In C++, you define the semantics yourself.
235.
▲
by
mgaunard
10mo ago
All Apple software just randomly changes UI with every iteration. It's the software equivalent of fast fashion. Just avoid it and stay with true and tried staples instead.
236.
▲
by
mgaunard
10mo ago
Deploy your own platform -- if need be built on top of other (unreliable) platforms.
237.
▲
by
mgaunard
10mo ago
It remains a requirement, whether it is enforced or not. Valid programs don't need guardrails, since you need to satisfy those requirements for the program to be valid in the first place.
238.
▲
by
mgaunard
10mo ago
It does, it's called a pointer. You're literally not allowed to dereference a pointer once the pointee has ceased to exist, so by using them you're making the promise you'll ensure this is satisfied. C++ is not limited t
239.
▲
by
mgaunard
10mo ago
For pointers, const only affects whether you can re-set it to point to something else, not the pointee. Nothing prevents you from building a smart pointer with those semantics though, std::indirect is an example of this (arguably closer to
240.
▲
by
mgaunard
10mo ago
members of a const struct are also const. Now you obviously can still have escape hatches and cast the const away whenever you want.
More ›