Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
compiler-devel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
compiler-devel
2y ago
https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...
62.
▲
by
compiler-devel
2y ago
Adding this to my copypasta collection
63.
▲
by
compiler-devel
2y ago
It might help your focus, if you're the type who is easily distracted with the web or by notifications. That extra bit of friction to switch locations to enable the network might be enough to get you to second guess whether or not you
64.
▲
by
compiler-devel
2y ago
You can meaningfully recreate this world today for a personal, non-work environment. For a PC, what do you really need a persistent internet connection for? If you have a Mac, create a couple of network locations, one "Offline"
65.
▲
by
compiler-devel
2y ago
It is the most important problem of “our time” when you realize that the “our” here has the same meaning that it has in “our democracy”
66.
▲
by
compiler-devel
2y ago
This unhelpful whataboutism doesn’t refute earlier claims in this thread nor does it reinforce any opposite claims. What are you trying to say about the safety of cities here?
67.
▲
by
compiler-devel
2y ago
Nobody ever claims that suburban areas are crime-ridden. “Cities are safe,” which ones?
68.
▲
by
compiler-devel
2y ago
A pun's "pun-ness" is like an "insider joke" for native speakers of the language, but the "pun-ness" of a pun doesn't transmit additional information about the ideas pointed at by the pun. Which is m
69.
▲
by
compiler-devel
2y ago
Writers use “untranslatable” as a device to evoke a vague mysticism surrounding a language. IMHO it lends a flavor of superiority over the reader which I find gauche.
70.
▲
by
compiler-devel
3y ago
It’s not though, this is one of those “we take less taxes if you pay mortgage interest” type arguments. That isn’t subsidizing.
71.
▲
by
compiler-devel
3y ago
Our present system’s degrading of the term “tip” is part of the enshitification of everything.
72.
▲
by
compiler-devel
3y ago
This is reddit so of course it is based on feelings and not facts.
73.
▲
by
compiler-devel
3y ago
The redditification of HN is sad. With reddit de facto purging third-party apps with increased API prices, we now see reddit-tier conversations spamming message boards like HN.
74.
▲
by
compiler-devel
3y ago
Could this be a reaction to RedHat’s latest position on RHEL rebuilders? Did kernel devs see RH as freeloading on the LTS kernels?
75.
▲
by
compiler-devel
4y ago
From an environmental impact perspective alone, the opportunity to free the planet from emissions, lower the demand for vehicles, improve pedestrian safety by staying off the road, and lower commute-induced stressors on our bodies should be
76.
▲
by
compiler-devel
4y ago
I develop compilers.
77.
▲
by
compiler-devel
4y ago
Can you cast away const with a single static_cast? Your static_cast chain is analogous to my example of serializing/deserializing across TUs because the memory is treated as a pointer to storage (your second static_cast<void*>).
78.
▲
by
compiler-devel
4y ago
This is a neat idea but I'm afraid it's fraught in that the resulting code could be as hard to maintain as the same written with goto.
79.
▲
by
compiler-devel
4y ago
In my first release I didn't address pointers or references and need to think on them further. I'll release updates over time that address these as well as many of the great ideas that I've received from other commenters.
80.
▲
by
compiler-devel
4y ago
That is neat, I'll look further into it.
81.
▲
by
compiler-devel
4y ago
Great suggestion, I'll set up an issue tracker. A few people have ventured into the code to leave some comments inline, I welcome that.
82.
▲
by
compiler-devel
4y ago
Great suggestion.
83.
▲
by
compiler-devel
4y ago
Completely agree! Thank you for these suggestions.
84.
▲
by
compiler-devel
4y ago
This is interesting, are there languages in use today with these constructs?
85.
▲
by
compiler-devel
4y ago
> I almost never see anyone using it without a good reason In any of those cases, could the code have been rewritten without goto?
86.
▲
by
compiler-devel
4y ago
That's great to hear! I'm sure I could find it, but are the libreoffice coding standards written down (and could you send them my way)? On the topic of coding standards, there's an excellent github repo https://git
87.
▲
by
compiler-devel
4y ago
Indeed. I conceded in my commit message that a linter or checker (such as clang-tidy) could be used to implement some or most of what I suggested (but not the mutable/const change of course). Aside from learning more about how clang wo
88.
▲
by
compiler-devel
4y ago
Great suggestions all around. UB is a beast of a problem and compilers take advantage of UB for optimizations (some going so far as to break programmers' code).
89.
▲
by
compiler-devel
4y ago
Interesting idea!
90.
▲
by
compiler-devel
4y ago
Thank you, this indeed is the approach that I'd like to take. Like I mentioned in the commit message on the patch, one of my goals is to show that we can iterate the language (and our codebases) gradually. I'll add a feature flag
More ›