Better HN
topnewbestaskshowjobs
Log inSign up

vi4m

47 karma · joined Dec 6, 2012 (13y ago) · 15 submissions

Submissions

comment 1y ago · link · parent

I'm a bit confused about the "don't trust Apple" sentiment here.

Swift has been working seamlessly with Linux and Visual Studio Code for years now. You might be surprised to learn this, just like this guy was https://www.youtube.com/watch?v=LTP5c4NqA8k&t=5484s

Swift is compatible with WASM and embedded systems. It has a well-defined concurrency standard, and as a compiler, it's been tested with massive codebases worldwide.

The community is incredibly supportive (Ted Kremenek's team is super active, attending community conferences and supporting the Server Side Workgroup). They also have an open swift-evolution process that mostly works.

Xcode not being open-sourced? Not a big deal. It's an older codebase optimized for different use cases. Their approach is to break Swift down into smaller, focused components (Package Manager, LSP server, a formatter, etc.)

JetBrains didn't open-source their IDEs either, and people don't complain about it. So, it's the same story, but it's better since you don't have any historical issues like "Oracle JVM" lurking around, causing trouble for the community.

comment 2y ago · link · parent

Just've bought one. Will tell you in 2 weeks :->

comment 2y ago · link · parent

It’s not dead but nearly dead.

The question is why they focused on DEI, weird social activism so much and not on engineering itself.

Look at SQLite. SQLite is notable example where they don’t even have CoC(!) and focus only on getting engineering done. No marketing, events, sponsorships.

Pure wonderful code that works.

Edit: read more here about their „progressive” transformation https://www.mozilla.org/en-US/diversity/2022/

comment 2y ago · link · parent

Wrong. Apple officially provides:

* linux, windows and wasm compilation targets. They hired the maintainer of wasm project as well. * LSP language server for Swift, to power VSCode and others editors, even though, they use Xcode that doesn't need it * well tested server side libraries similar to netty/jetty (they even have a former Akka developer)

comment 2y ago · link · parent

Really something we needed.

Swift has such low memory usage, that it's an order of magnitude easier on resources, than those Electron wrappers. At the same time, it gives what you loved about React - expressiveness for UI.

  I wrote a lot of apps in SwiftUI, and it strikes a good balance between type safety and expressiveness, it's cool that we have something similar for GKT/Gnome now.

comment 3y ago · link · parent

Interoperability is about practicality and performance cost. I think Swift is quite practical and efficient in this regard - from day 1 it has near-zero C-lang integration costs, and now it has C++ support.

Also, https://github.com/swiftwasm shows how the modularity pays off. Comparing it to the other languages that got stuck with incompatible frame conversion (Golang) or JIT memory management problems (JVM) it's not bad at all.

7.

Raspberry Pi 400 running Swift microservices(marcinkliks.pl ↗)

2 points · by vi4m · 5y ago · discuss

comment 6y ago · link · parent

Looks like very nice use case for Property Wrappers demonstration.

comment 6y ago · link · parent

> there's no good and easy option to backup your phone other than iCloud.

Just plug your phone, click "Backup up". You don't even have to open iTunes anymore, just open "Finder" window. Can't be easier than that.

comment 9y ago · link · parent

Until you try to do first presentation on some conference, when your connected display crashes and you start typing xrandr / fighting Wayland/xorg drivers ... I see it all the time, never happened to Macs.

comment 10y ago · link · parent

SSD in Macbook Pro is crazy fast. So fast that finally, after many years, we can think about "replacing" RAM with it.

LPDDR3 RAM speed = 17 GB/sec, SSD read - 3 GB/sec. As much as it sounds crazy, i believe, SSD will eventually replace big and inefficient RAM's (which consume 6 W of power for each 16 GB slot)

comment 10y ago · link · parent

No.

comment 13y ago · link · parent

No. Just no. Market will regulate itself without a collusion.

comment 13y ago · link · parent

No. Just simply wrong article.

comment 13y ago · link · parent

Maybe it's just me, but I don't like theese cool presentations filled with expressive words 'DO IT!', 'NEVER DON'T DO THAT' "bitches" "programming motherfuckers". It's funny, but not for 100th time.

Another example are pictures, or memes pasted into the presentation. Maybe sometimes it is funny, when there is one funny picture, or the subject of presentation is chalenging.

But very often amount of 'coolness' is too much to me to handle. I often find presenters not knowing subject enough for answering questions(they just make jokes, etc).

Maybe should we just go back to excellent but simple, polite, content(text) rich presentations ?