this post was submitted on 19 Aug 2024
412 points (92.9% liked)

Linux

48038 readers
841 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Finally, another web engine is being developed to compete with Chromium and Firefox (Gecko), and they're also working on a browser that will use it.

Here's the maintainer talking about the current state of the project, and a demo of the current functionality

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 2 months ago* (last edited 2 months ago) (4 children)

Welp, I haven't seen anyone learn Swift other than for Apple stuff these days. So I wonder how many can actually contribute to the code. It's also made by Apple, so yeah. It would have been more performant and secure (both of which are pretty important in a browser) if it was written in a more low level language. For example Rust.

[–] LeFantome 12 points 2 months ago

It is currently written in C++. They are looking to switch to Swift.

They looked into Rust but decided that GUI work was a pain and that they wanted something more object-oriented.

[–] [email protected] 11 points 2 months ago* (last edited 2 months ago) (2 children)

It's also made by Apple, so yeah.

It's also open-source? Like, Microsoft created C# and Typescript. Google created Go. Those get used without people bringing up their origins. Hell, ~~Rust~~ Javascript* was created by a homophobe. What, do you think the license lets Apple close-source everyone's code if they choose or something?

Sorry, I'm just really tired of these low-effort comments. The only thing that should matter is the language and if it hits the goals the project needs.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago) (1 children)

Rust was created by a homophobe

javascript, too

[–] [email protected] 5 points 2 months ago (2 children)

Sorry, I was thinking of Javascript. Rust was a different Mozilla employee.

[–] [email protected] 3 points 2 months ago

makes sense, though. javascript is a very bad language :shrug:

[–] [email protected] 2 points 2 months ago (1 children)

May I recommend editing your comment?

[–] [email protected] 3 points 2 months ago

Honestly, I really should have already, but spaced on it. Thank you for reminding me.

[–] [email protected] -2 points 2 months ago* (last edited 2 months ago) (1 children)

Sure. It is open source, but the development is done by Apple engineers. I also would like to state that Go has trackers in it. I also don't really care what the creator of a language is. Homophobe, sexist, racist or other similar stuff, I couldn't care less as long as the language is good.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

You couldn't care, as long as the language is good, but you care when it's Apple?

You're wrong btw. Sure, Apple engineers developed it originally. But it is now in the hands of the open source community, with over 1,000 contributors on github: https://github.com/swiftlang/swift

Edit: To be clear, unlike something like Chromium, Apple doesn't even own the repositories anymore. It's fully independent.

[–] [email protected] -1 points 2 months ago (1 children)

I said:

I couldn't care less as long as the language is good.

Why wouldn't I care if the language is bad in my opinion?

[–] [email protected] 3 points 2 months ago

Okay, so what's bad about Swift?

[–] [email protected] 6 points 2 months ago

While Rust would probably have been a good choice for implementing a new browser, I don't think Swift deserves the criticism it's getting in this thread:

  • Swift was created by the same person who created Rust, and has many of the same nice traits
  • Swift is a modern language that is easy for plenty of developers to pick up; I'd place it in the same family as Rust and Kotlin
  • Swift grants access to a large pool of native iOS/Mac developers
[–] [email protected] 2 points 2 months ago (1 children)

“More performant” citation needed. Very well written Rust might be extremely fast, yes, but Rust is also a hard language to get right. Swift is far from a slow language and I would not be surprised if the average rust programmer barely if at all manages to beat out the average swift programmer in terms of speed. As for the amount of programmers interested, hard to tell, but given the sheer amount of Swift devs I’d not be surprised if there were quite a few interested ones and I am unconvinced Rust programmers are statistically more likely to be interested in Browser development.

[–] [email protected] 8 points 2 months ago* (last edited 2 months ago) (2 children)
[–] [email protected] -2 points 2 months ago* (last edited 2 months ago) (1 children)

Benchmarks mean nothing. These aren’t the results of code written by an average programmer. Edit: and as a general note I would also like to point out the relative inconsistency of the results in terms of factor, only further reinforcing my point. I like Rust and all but we do need to admit it doesn’t magically solve all our problems.

[–] [email protected] 2 points 2 months ago

Benchmarks mean nothing.

You're free to suggest another method of comparing the two languages' performance. This is the best we're have, and Rust wins in every single benchmark shown there.

These aren’t the results of code written by an average programmer.

Citation needed.

I like Rust and all but we do need to admit it doesn’t magically solve all our problems.

I never said it did. I simply pointed out that it's demonstrably faster than Swift.