Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mtzet
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
mtzet
5y ago
> I don't think Zig has the same goal. It seems to me that the only meaningful difference in their goals, is that C3 wants to stay as close to C as possible, including having familiar syntax. > Also, they usefully compare the lan
32.
▲
by
mtzet
5y ago
> I find it surprising that anyone could imagine that the creator of C++ is unaware of its issues. While C++ adds a lot of new features, it does very little to solve the problems inherited from C. The lack of static introspection, a real
33.
▲
by
mtzet
5y ago
At a 168 pages, I only had time to skim it, but this was much better than I thought it would be. He honestly addresses many of my complaints about C++. In the discussion of variant, optional and any: - He bemoans that "The possibility
34.
▲
by
mtzet
5y ago
This gets brought up pretty much every time immediate mode GUIs are discussed on HN. I think your comment is reasonable, and I don't disagree, but I also think it's important to not throw the baby out with the bathwater and dismis
35.
▲
by
mtzet
5y ago
> when I was in the Systems Group at Sun we worked with AT&T on their solution which was the whole "run level" thing Interesting that you mention Sun. Didn't SMF precisely replace runlevels with SMF milestones[1] in mu
36.
▲
by
mtzet
5y ago
On the other hand, I find the integration between Atlassian tools to be pretty barebones. It feels very clear to me that Atlassian tools are really developed separately, with a separate jira task to integrate specific parts. There's no
37.
▲
by
mtzet
5y ago
Working at file granularity is fine, but I've never gotten a good workflow for using the CLI to stage individual hunks. Nothing beats selecting the lines I care about in magit (or any other GUI) and clicking to stage.
38.
▲
by
mtzet
5y ago
> 20. Wherever there is modularity there is the potential for misunderstanding: Hiding information implies a need to check communication. This is a really great point. Along the same vein: modularity has a cost too. A cost in terms of c
39.
▲
by
mtzet
6y ago
These discussions tend to boil down to OOP vs FP. That's a false dichotomy. The alternative to OOP is not FP, it's pre-OOP imperative programming with various techniques a la carte. Should data and functions be together? That'
40.
▲
by
mtzet
6y ago
You're also forgetting: simpler language/explicit code => faster build times. Zero-cost abstractions are only zero-cost in optimized builds and and complex optimization isn't free. Whether static checking vs faster iterati
41.
▲
by
mtzet
6y ago
I think this is a roughly fair assesment, but I also think it's important to contextualize memory safety. Ultimately, the goal here is to produce /correct/ software. Memory safety is a subset of this, but there are other aspe
42.
▲
by
mtzet
6y ago
I think this misses a pretty important part of mathematics, which I find is nessecary to grokking fields like linear algebra, algebraic geometry, algebraic topology, and many more. What's missing is /why/ the definition is th
43.
▲
by
mtzet
6y ago
While having nice libraries is always great, I'd also like to plug the simple zig std library functions. I was very pleasantly surprised by how easy was to start parsing simple stuff using std.mem.tokenize() and std.mem.split(). Someho
44.
▲
by
mtzet
6y ago
Well the choices so far seems to be manual memory allocation, RAII or GC. The complexity of C++/Rust indicates that RAII is certainly not a panacea either. GC offers distinct trade-offs as well. Zig takes a stab at the problem by tryin
45.
▲
by
mtzet
6y ago
Yeah it seems kind of obvious. It's also worth pointing out that you can get a 30-year fixed rate loan at just above 1% in interest [1]. Money is cheap, so people are likely to borrow more. [1] http://www.nasdaqomxnordic.com
46.
▲
by
mtzet
6y ago
What simpler alternative is there? The OOP way would be to always hide data. This certainly has a different set of trade-offs, and sometimes requires the visitor pattern. Maintainable and simple are not words I would use to describe these c
47.
▲
by
mtzet
6y ago
> In 2012 Microsoft started requiring vendors ship systems with UEFI Secure Boot, a firmware feature that allowed[5] systems to refuse to boot anything without an appropriate signature. This not only enabled the creation of a system that
48.
▲
by
mtzet
6y ago
The advice about using both grep /and/ the IDE is very good. Often they are framed as in opposition to each other, but in reality they're just tools. IDE's are great when they work, but it's entirely possible to mak
49.
▲
by
mtzet
6y ago
I find it really interresting that such a simple concept as a tagged union, which appeared at least as far back as ALGOL 68, could be completely abandoned during the 90's and 00's where OOP reigned surpreme, and only seems to be g
50.
▲
by
mtzet
6y ago
> Can Wayland handle this? Yes.
51.
▲
by
mtzet
6y ago
It's a trade-off. SMD-soldering takes up way less space, which is important in an ultra-portable. Even if it was upgradeable, it's not clear to me that the CPU/motherboard even supports more than 16GB per memory slot. Adding
52.
▲
by
mtzet
6y ago
Compile times will likely improve in the future, but they're still likely to be much longer than those in zig. Especially if you also consider the body of software surrounding zig/rust. I believe zig developers are more likely to
53.
▲
by
mtzet
6y ago
They do provide provide first-party Linux support, which Google and Microsoft lack. What other reason should I have for trusting Microsoft or Google over Dropbox? (Serious question, I've been considering my cloud sync provider recently
54.
▲
by
mtzet
6y ago
What additional benifit does moving money around provide? From my perspective, there is not much difference between money moving around in the banking system vs moving around on your budget sheet, except the banking system might charge over
55.
▲
by
mtzet
6y ago
I don't know any C++ IDE capable of doing this. Do you have any in mind?
56.
▲
by
mtzet
6y ago
Inline asm?
57.
▲
by
mtzet
6y ago
Exceptionally bad is a bit harsh. Windows is first tier support with Linux coming in as a second. In my experience they are pretty good about fixing remaining issues in firmware updates, which can be installed using fwupd (I don't have
58.
▲
by
mtzet
6y ago
I disagree in the general. It's very easy to write a spec that contradicts itself and is impossible to actually implement. Some things do have to be designed, and not just thrown together though. That may be through spec, but it could
59.
▲
by
mtzet
6y ago
I agree wholeheartily that Conway's law is a very useful guiding principle for making "architectural" decisions. I also think this applies much more broadly than just microservices vs monoliths. I recently moved ~40 repositor
60.
▲
by
mtzet
6y ago
The problem with JSON is that it's only solving the trivial first part of the problem. You still have essentially a parser after the JSON parser to handle your own logic. The more features you add, the closer down the path from simple
More ›