Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
favorited
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
favorited
1y ago
Disclaimer: I'm not an allocator engineer, this is just an anecdote. A while back, I had a conversation with an engineer who maintained an OS allocator, and their claim was that custom allocators tend to make one process's memory
62.
▲
by
favorited
1y ago
I think the majority of programmers would enjoy it, but most would first need to pick an ISA (something older is probably going to be more approachable for beginners), learn enough about it to understand basic arithmetic instructions, learn
63.
▲
by
favorited
1y ago
The post notes that the user-facing app was "introduced in the fall of 2024," so presumably the services aren't that legacy.
64.
▲
by
favorited
1y ago
I did some very broad testing of several PDF text extraction tools recently, and PDF.js was one of the slowest. My use-case was specifically testing their performance as command-line tools, so that will skew the results to an extent. For ex
65.
▲
by
favorited
1y ago
> Yes. Garbage collectors also call free. They call functions. Ok, what is calling `free` here? Point to the garbage collector. Show me the thing that is collecting the garbage. > And in reference to `shared_ptr`, or Rc and Arc in Rus
66.
▲
by
favorited
1y ago
> It’s a runtime garbage collector What does "it" refer to? The function calls to _swift_release_()? Because if function calls are a "garbage collector," then free() is a garbage collector. And if free() is a garbage
67.
▲
by
favorited
1y ago
> a language with a garbage collector (Swift) You can certainly make the case that reference counting is a form of garbage collection , but it is absolutely false to say Swift has "a garbage collector." There is no runtime pro
68.
▲
by
favorited
1y ago
Especially in apps, where most of the code will be about preparing the user interface and handling events. And it's relatively easy to make most lower-level components actor-agnostic – either by making them conform to Sendable, by maki
69.
▲
by
favorited
1y ago
Many of these features have convoluted-sounding names like "global-actor isolated conformances" or "control default actor isolation inference," but they are changes that make actually using the language simpler. People
70.
▲
by
favorited
1y ago
I have a few personal and professional Swift on server projects, in the wild and in the works. Code reuse is a big win – we can ~easily expose functionality of our client apps to other systems. Familiarity is another – there's an ocean
71.
▲
by
favorited
1y ago
> Networking APIs that require the use of a 3rd party library because the native APIs don’t even handle the basics easily This is nonsense. I've been a professional Mac and iOS developer for well over a decade, and even in the days
72.
▲
by
favorited
1y ago
Side note, if anyone is interested in hearing more from Matt, he has a programming podcast with Ben Rady called Two's Complement. https://www.twoscomplement.org
73.
▲
by
favorited
1y ago
> Unrelatedly, has Boies ever won a high profile lawsuit? I remember him from the Bush/Gore recount issue, where he represented the Democrats. He teamed up with opposing counsel from Bush v. Gore, Ted Olson, and the pair of them rep
74.
▲
by
favorited
1y ago
He was a secondary villain in Ronan Farrow's Catch and Kill book, as Harvey Weinstein's attorney. He employed similar tactics to protect Weinstein as he did for Theranos. He was fired by the New York Times after all this came ou
75.
▲
by
favorited
1y ago
One of the primary Ladybird devs just gave a lightning talk at CppCon about porting their HTML parser from C++ to Swift. https://www.youtube.com/watch?v=KCRx1jE6DnY
76.
▲
by
favorited
2y ago
Seems at odds with their repo's MIT license, which explicitly allows it to be sold. https://github.com/TombEngine/TombEngine/blob/master/LICENSE
77.
▲
by
favorited
2y ago
Spanfeller believing "it's impossible to kill a media brand" goes a long way towards explaining everything I've ever heard about him.
78.
▲
by
favorited
2y ago
> An example is Jonathon Blow's JAI compiler I thought you were advocating "just distribute source code" – JAI is a closed-source language that, in its decade of development, has never been used for a significant project.
79.
▲
by
favorited
2y ago
Of course the entire binary will never be the same, but the implementation of (for example) DateComponents.swift in OSS swift-foundation will be the same implementation that is used to build the OS library. Going forward, the bedrock of bot
80.
▲
by
favorited
2y ago
They're newer, but they aren't at all similar to what ships on Apple's OSes anymore. These days, the layers have flipped, and CoreFoundation is becoming a wrapper around swift-foundation. CF functions toll-free bridge the CF
81.
▲
by
favorited
2y ago
You're right, I got Dragonegg mixed up with llvm-gcc. But my point stands – the GPL was completely ineffective at preventing someone from using it to bootstrap a new compiler infrastructure under a more permissive license.
82.
▲
by
favorited
2y ago
Wow, thanks! As someone about to go to sleep on a Friday, I'm looking forward to seeing what is posted here on my Saturday morning :)
83.
▲
by
favorited
2y ago
I totally understand that, but theirs is genuinely not an HOAzilla – they just took a stupid approach to this particular problem. It's honestly the prototypical example of how to run an HOA – low fees (no outside management), providing
84.
▲
by
favorited
2y ago
> If you are willing to type this up for karma If I cared about HN karma, I'd just post "why not Rust?" on every Go post, and "why not Go?" on every Rust post. > why wouldn't you just tell the lawyer this
85.
▲
by
favorited
2y ago
> An interesting datapoint is LLVM/Clang It's also an example of the GPL not preventing corporations from building (and releasing under a more permissive license) non-GPL software. Before Apple built Clang, they made a GCC plug
86.
▲
by
favorited
2y ago
I used to be the webmaster for my parent's HOA[0], and I bought their .com domain name when it became available (a realtor had owned it originally). They eventually hired a firm to run the site, and I pointed the domain at their namese
87.
▲
by
favorited
2y ago
It's not the appeals court's job to "define what AI means," their job is to rule on the case in front of them. This particular case involved someone asserting copyright over an image that he claimed was generated by a se
88.
▲
by
favorited
2y ago
> We were planning to now focus on new accessibility features on our open-source Thorium Reader, better access to annotations for blind users and an advanced reading mode for dyslexic people. Too bad; disturbances around LCP will force u
89.
▲
by
favorited
2y ago
That's the gist of his whole talk – that doing things "the UNIX way" (which can be defined to various degrees of specificity) has been cargo culted, and that we should reexamine whether solutions that were pragmatic 50+ years
90.
▲
by
favorited
2y ago
> for instance, Linux handles network socket, special files (like /proc/cpuinfo) or even USB devices as files. This is a powerful idea that can make easy to write or use programs for linux since we can rely in a set of well kno
More ›