Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IshKebab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
781.
▲
by
IshKebab
5mo ago
AoT/JIT compilation is a property of the implementation, not the language. It would be good to know order of magnitude anyway. Like, are we talking Ruby/Python level, etc.
782.
▲
by
IshKebab
5mo ago
Yeah I mean I guess if you have to use that syntax, it's nice to have a better editor for it. But IMO the existence of that tool clearly demonstrates that the syntax is pretty bad.
783.
▲
by
IshKebab
5mo ago
> Today, 30 people are arrested every day in the United Kingdom for posting something online that authorities classify as “grossly offensive.” It doesn't really help their case to parrot Musk-level misinformation... https:/&#x
784.
▲
by
IshKebab
5mo ago
Typically this is used to stack many layers of memory on top of one or two layers of compute.
785.
▲
by
IshKebab
5mo ago
Pretty compelling, especially "Janet does not adhere to the ancient customs. CAR is called first. PROGN is called do. LAMBDA is fn, and SETQ is def." - a sign of good sense for sure! How fast is it? Also my main objection to Lisps
786.
▲
by
IshKebab
5mo ago
His example did not involve running any post-install scripts.
787.
▲
by
IshKebab
5mo ago
Yeah never buy based on future promises.
788.
▲
by
IshKebab
5mo ago
> Where can anything in the linked code be exploited? Difficult to tell - that's the point!
789.
▲
by
IshKebab
5mo ago
So what? Packages can just put their backdoors in some initialisation code that is always used. It is possible that not running package installation scripts could improve security, but for that you need really good sandboxing/compart
790.
▲
by
IshKebab
5mo ago
Python does too I believe. Really the reason not to allow that is for robustness, not security. You ideally don't want package installs doing random stuff to your system because package authors are generally bad at doing that sort of t
791.
▲
by
IshKebab
5mo ago
That's also bullshit anyway. Not surprising because the article is slop.
792.
▲
by
IshKebab
5mo ago
Would it though? I'm unconvinced.
793.
▲
by
IshKebab
5mo ago
I don't know why you've been down-voted. It definitely isn't an optimal decision. A video codec isn't all assembly. There's plenty of plain unsafe C code. E.g. this is the first random file I clicked. It has a ton
794.
▲
by
IshKebab
5mo ago
I don't see why not. What makes you think this is unique?
795.
▲
by
IshKebab
5mo ago
The normal C calling convention is really only for cross-binary calls (e.g. between shared libraries). If you're not doing that you can ignore it; it's not a weird thing to do. It would be odd to strictly follow it in assembly and
796.
▲
by
IshKebab
5mo ago
Video calls & streaming.
797.
▲
by
IshKebab
5mo ago
Let me rephrase: the thing that you said clearly isn't an issue so it doesn't make sense for you to have an issue with their advice.
798.
▲
by
IshKebab
5mo ago
Yeah sorry I know what an arena allocator is. I meant how can you write code that deals with strings (joining, formatting, passing around etc.) but isn't sensitive to performance (so `std::string`-like performance is fine) in Zig witho
799.
▲
by
IshKebab
5mo ago
More than $1bn?? I don't buy it.
800.
▲
by
IshKebab
5mo ago
They put a lot of effort in to make it that bad!
801.
▲
by
IshKebab
5mo ago
> Bringing in outside contributors is pretty easy, as they’ll have agents and should be able to come up to speed very quickly. If they can’t, there’s your signal. Sorry what.
802.
▲
by
IshKebab
5mo ago
Not a bad idea but the problem with real work is that you can't make it fair. You can't give everyone the same bit of real work to do. Homework problems are fine. You can make them non-contrived quite easily. The problem with ho
803.
▲
by
IshKebab
5mo ago
Hard to see how that is remotely worth $1bn.
804.
▲
by
IshKebab
5mo ago
That seems like a lot for name recognition. I bet you could rebuild their technology for like $20m at the most, and buy 100% market share for like $100m easy. Unless they have some other assets other than the obvious?
805.
▲
by
IshKebab
5mo ago
Tbh I don't know enough Zig to answer that. Can you give an example? E.g. some non-performance-sensitive function that returns a string? In Rust and C++ you can treat the string exactly the same as you would an integer and it's su
806.
▲
by
IshKebab
5mo ago
What if I already have solar, can I add this? Also do you actually need a balcony or can you hang these out of a window somehow? Very few houses in the UK have balconies.
807.
▲
by
IshKebab
5mo ago
The technology is unlikely to improve meaningfully in 7 years. And you'd only upgrade if it was a financial improvement so it makes complete sense to give an estimate based on keeping it for 20 years. I don't see what your issue i
808.
▲
by
IshKebab
5mo ago
Yeah when they crash and burn everyone will be like "how did we let this happen?".
809.
▲
by
IshKebab
5mo ago
But why? Go already compiles to native code. And there's already a Typescript compiler written in Typescript. This still makes no sense to me!
810.
▲
by
IshKebab
5mo ago
Zig has so many compelling features, and I'd even be willing to give up Rust's near-perfect memory safety in some cases. But the one thing that really put me off is string handling. It's just so super tedious. I like being a
More ›