Live data from Hacker News

Apple announces Foundation Models and Containerization frameworks, etc

apple.com

201–210 of 514 posts

Re: Apple announces Foundation Models and Containerization frameworks, etc

#201
post #36

Earlier quoted context omitted.

Apple has had a native hypervisor for some time now. This is probably a baked in clone of something like https://mac.getutm.app/ which provides the stuff on top of the hypervisor.

Using a hypervisor means just running a Linux VM, like WSL2 does on Windows. There is nothing native about it. Native Linux (and Docker) support would be something like WSL1, where Windows kernel implemented Linux syscalls.

It is as native as any Linux cloud instance.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#202

Earlier quoted context omitted.

I think perhaps you are overestimating the computing needs of the majority of the population. Get one of the iPad cases with a keyboard and an iPad is in many ways a better laptop.

Or maybe a stand and separate keyboard. Better ergonomics than a laptop that way with similar portability.

Any keyboard you recommend? I'm looking around myself.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#203
post #51

Earlier quoted context omitted.

What about macOS being derived from BSD? Isn’t that where containers came from: BSD jails? I know the container ecosystem largely targets Linux just curious what people’s thoughts are on that.

„Container“ is sort of synonymous with „OCI-compatible container“ these days, and OCI itself is basically a retcon standard for docker (runtime, images etc.). So from that perspective every „container system“ is necessarily „docker-like“ and that means Linux namespaces and cgroups.

With a whole generation forgetting they came first in big iron UNIX like HP-UX.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#204
post #153

Earlier quoted context omitted.

If they implemented the Linux syscall interface in their kernel they absolutely could.

Aren't the syscalls a constant moving target? Didn't even Microsoft fail at keeping up with them in WSL?

Linux is exceptional in that it has stable syscall numbers and guarantees stability. This is largely why statically linked binaries (and containers) "just work" on Linux, meanwhile Windows and Mac OS inevitably break things with an OS update.

Microsoft frequently tweaks syscall numbers, and they make it clear that developers must access functions through e.g. NTDLL. Mac OS at least has public source files used to generate syscall.h, but they do break things, and there was a recent incident where Go programs all broke after a major OS update. Now Go uses libSystem (and dynamic linking)[2].

[1] https://j00ru.vexillium.org/syscalls/nt/64/

[2] https://go.dev/doc/go1.11#runtime

Re: Apple announces Foundation Models and Containerization frameworks, etc

#207
post #163

Earlier quoted context omitted.

> The Containerization framework enables developers to create, download, or run Linux container images directly on Mac. It's built on an open-source framework optimized for Apple Silicon and provides secure isolation between container images That's their phrasing, which suggests to me that it's just a virtualization system. Linux container images generally contain the kernel.

> Linux container images generally contain the kernel. No, containers differ from VMs precisely in requiring dependency on the host kernel.

Hmm, so they do. I assumed because you pulled in a linux distro that the kernel was from that distro is used too, but I guess not. Perhaps they have done some sort of improvement where they have one linux kernel running via the hypervisor that all containers use. Still can't see them trying to emulate linux calls, but who knows.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#209

Can someone who uses Xcode daily compare to say Cursor or VsCode how the developer experience is. Just curious how Apple is keeping up

XCode so far is very rudimentary. miles behind VSCode in autocomplete. autocomplete is very small, single line, and suggests very very rarely. and no other features except autocomplete exist. very good to see XCode LLM improvements! > I use VSCode Go daily + XCode Swift 6 iOS 18 daily

Several years ago XCode also had “jump to definition” and a few other features.

Re: Apple announces Foundation Models and Containerization frameworks, etc

#210

Some 15 years ago, A friend of mine said to me "mark my words, Apple will eventually merge OSX with iOS on the iPad". And with every passing keynote since then, it seemed Apple's been inching towards that prophecy, and today, the iPad has become practically a MacBook Air with a touch screen. Unless you were a video editor, programmer who needs resources to compile or a 3D artist, I don't see how you'd need anything o…

> I don't see how you'd need anything other than an iPad.

For the same price, you still get a better mac.

Post reply on HN