[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam folder!


[Advertise on 4chan]


File: 1765426083652909.png (1.88 MB, 2020x1874)
1.88 MB PNG
Will Swift ever be a true competitor to Rust?
>>
>>109048163
Swift will never be popular, because it suffers from the same problem as C#. It's made by a company developers do not like.
>>
>>109048163
programming language flamewars are the lowest form of conversation
>>
>>109048163
Be honest with yourselves, /g/. You would tap Becca.
>>
>>109048163
Brave and stunning
>>
File: image.png (352 KB, 523x676)
352 KB PNG
>>109048163
how would the german-syrian immigrant, abd'al lateef al-jandali, would've dealt with this el goblino?
>>
>>109048163
clearly programming language design has some side effects
>>
>>109048184
>programming language flamewars are the lowest form of conversation
nuh uh
>>
lmao weekend bait threads are truly something else
>>
>>109048163
Nobody in their right mind trusts Apple for anything not locked into that ecosystem.
Not that they're especially evil for the most part; it's just that they'll take decisions for their own benefit and not care about anyone else except that it comes back to benefit them. This has always been how they've behaved in the past, so there's no reason to believe it will change.
>>
They should do a mixer with the Rust "females".
>>
>>109048163
I hate monitors where the cables are perpendicular to the display
>>
>>109048163
If all the shit they hacked into it to make SwiftUI a thing remain and SwiftUI remains wildly inferior to the old obj-c code, no.
>>
If you believe the Kling retard, Swift is fake news advertising. The alleged C++ support is fake and gay and it has no real ecosystem.

https://ladybird.org/posts/adopting-rust/
>>
>>109049014
I agree with the reason you stated, but not exactly with that they are not trusted.
> it's just that they'll take decisions for their own benefit and not care about anyone else except that it comes back to benefit them
everyone does this and it's not necessarily a bad thing. it's how in c# or .net there are a multitude of builtin support for xml, but nothing for toml and until recent years not even json without pulling third party dependencies, because microsoft doesn't use those as much.
you're not forced to use swift if you don't agree with it, or use it for everything. it's perfectly fine to use a apple-oriented programming language to write a apple-specific application, or to write a backend or whatever else if you agree with the decisions apple takes with their design.
>>
File: file.png (152 KB, 1155x306)
152 KB PNG
>>109048163
They got a long way to go before they/them can match the POWER of the it/its
>>
File: dog contempt.jpg (248 KB, 1290x1293)
248 KB JPG
>>109048163
I did not appreciate el ogro de la manzana and was much happier watching that video when the normal guy took over in the middle segment. It was one of the better videos they had this year though. If they're not lying and actually using Swift in embedded and kernel code, that inspires a lot more confidence in the language than just using it for SwiftUI slop. It's like 80% of what I want out of a language, but it's a pain in the ass to get working outside of Macbooks because I don't use one of their sanctioned Linux distributions.
>>
What can I learn to code for unity
>>
>>109049228
Honestly, did no one learn from the r*ddit antiwork fiasco that you shouldn't let a hideous troon on camera for your organization?
>>
>>109048197
Maybe with a Walther P38.
>>
>>109048176
you mean the company that makes the devices every single developer in silicon valley uses?
>>
File: 1768718354632593.jpg (23 KB, 600x401)
23 KB JPG
>>109048263
>>109049024
>>109049219
>>109049228
AI and putting distribution of pictures/videos into programming related fields is a way westerners try to gatekeep programming
>>
>>109048163
What the HELL is that thing?!
>>
File: IMG_3061.png (2.59 MB, 1672x941)
2.59 MB PNG
>>109048163
>manual coder
>trans
Like clockwork, jokes write themselves (codetrans)
>>
>>109048163
Probably not because Swift tooling barely works on Apple platforms
But it’s kind of close and I think modern Swift has a lot of the guardrails that Rust does, making it good for clanker work
>>109049228
IIRC last year they had a German guy run Swift on this little tiny embedded thing that can only blink a light
>>
>>109048163
she cute
>>
>>109048163
Thats a man
>>
With fine ass slampig women like this involved you know it is built to last
>>
>>109048163
kek
>>
>>109048163
Swifts lsp has a memory leak. It will leak around 1 gig of memory every 20 or so mins. This has been a problem for at least 5 years across all platforms. I have serious doubts that the language is of high quality if the tooling around it is garbage.
>>
File: 1773055969042260.gif (354 KB, 500x491)
354 KB GIF
>>109048163
iTRANNIES BTFO
>>
>>109050335
>her
anon...I
>>
>>109048163
How does any adult look at this and enable it? Absolutely insane what is happening in the west.
>>
>>109048163
el ogro de manzana....
>>
>>109048163
Nah, Swift only exists to discourage using other platforms, just like the rest of Apple products designed for vendor lock in:
- iMessage resisting standardization with RCS
- Using proprietary format for video and photos that aren't universally supported (e.g. HEVC)
- iCloud which doesn't sync easily on other devices
- Lightning cables (when USB exists)
- Metal (when Vulkan exists)
- XCode (needs a Apple device to compile Apple applications)
- Operating systems that only run on Apple hardware
- A bunch of other stuff like the keychain and what not

Swift is just another version of vendor lock in, where cross platform support gives the illusion of freedom.
Hopefully I end up being wrong, because it has neat features (anonymous structs is pretty cool).

If you really want a Rust alternative, you have to look at languages like Kotlin, C#, Vlang, or Hare (when mature), among others.
Languages that either support memory safety through GC or designed with usability in mind to avoid the footguns of C/C++
The ones I've listed either have package managers with official or mature community indexes (aside from Hare which isn't 1.0 yet).

>>109048197
No, the lack of bangs is a turn off. Otherwise, chubby trans granny? That's kinda hot.

People here care too much...
>>
>>109052289
>chubby
Fat
>trans
Man
>granny
Old

"Fat Old Man"

>That's kinda hot
Gross.
>>
>>109049219
now waffle, waffle i might be ok with
>>
File: pottery.gif (448 KB, 200x200)
448 KB GIF
>>109052341
>"Fat Old Man"
Never jorked it to an old bear going at it with a young twink? NGMI
>>
"Trans" people are con men.
>>
>>109048163
swift is too slow. it's a lang for iphone apps not for low level systems programming
>>
>>109048163
Troons are like jeets; It's all about them in place they're not welcomed.
>>
>>109052289
>Kotlin
not a rust alt. still can be useful because of android. but incidentally has no support outside maker's IDE (how ironic!). when i wanted to try it, i found an independent LSP impl with a README stating that it both doesn't work and was abandoned because dev doesn't want to do kotlin anymore.
so i ended up thinking if i ever needed to do android dev, i will use rust+dart.
>C#
lmao
>Vlang
oh no, the /g/eet is retarded
>>
>>109048163
Can some GenX-er help me out. I swear like 30 years ago the weirdest thing computer nerds would be into would be Star Trek and DnD. At least growing up that's the vibe I was getting when I was getting into software development. Then finally come time, and I'm fully in the field, it's full of cross dressing freaks like this. Like wtf is this shit? He looks like a gorilla in dress with long hair and lipstick.

I dunno maybe it was actually LGBTQP heavy and I'm just hallucinating that it wasn't so.
>>
>>109048281
It's the other way around troons seek validation so they will try to get it through things they perceive as hard (even if it isn't actually hard).
Also some confirmation bias, sane people care about getting shit done, they don't seek validation like troons do so you don't see them as much even though troons are less than 1%
>>
>>109048163
Swift code already runs at twice the performance of Rust code, I don't see why not.
>>
>>109048163
Why do they have Penguin as a Swift developer?
>>
>>109049219
Why is software development so absolutely infantile?
>>
What's sad is that guy would be an absolute unit if he just hit the gym and look good at any age. Women are doomed mid-30s.
I know women are more profitable for capitalism, but still.
>>
>>109053858
And what would you consider a Rust alternative?

Currently there is nothing that comes close to it with the borrow checker, an expressive type system, and extensive metaprogramming options, but the one's I've listed either have features comparable to Rust or focus on DX like Rust.

Kotlin:
Runs on the JVM which uses GC for memory safety but also support native compilation.
Distinguishes nullable types, has features like iterators, pattern matching, and first class functions.
Distinguishes mutable and immutable variables.
Exceptions are discouraged in favor of sealed classes (like Rust Result + Error).
Offers many metaprogramming features like compiler plugins, KSP, and runtime reflection.
Not for systems programming, but works for apps and servers (plus, there is KMP for writing cross-platform applications, but IDK how good it is).
Missing Rust features like tagged unions, but can be emulated with classes.

C#:
Similar to Kotlin with GC backed runtime, distinguished nullable types, and alternatives to exceptions (but a lot of this was shoehorned in later).
Also has features like iterators, pattern matching, and first class functions, as well as tagged unions and async/await.
Weaker metaprogramming features, with really only proper support for runtime reflection.
Comptime metaprogramming is done with stuff like c# source generators or third-party libraries.
Native compilation is supported with AOT feature, but comes with many limitations.
For years, transpiling C# to a native language was how native binaries were created.

Vlang:
Immature language (2019) that explores an opinionated experience (builtin support for stuff like ORMs and JSON) but IDK if anything will come of it:
The website seems pretty broken, but it is still being developed (last commit was an hour ago).
4 runtime modes: GC, GC + autofree, manual, and preallocated (arena allocation).
Immutable variables by default, sum types, Option/Result, generics, comptime.
Concurrency similar to Go.
>>
>>109052289
>Using proprietary format for video and photos that aren't universally supported (e.g. HEVC)
HEVC is not propietary, retard.

>iCloud which doesn't sync easily on other devices
Works fine with my Windows PC.

> Lightning cables (when USB exists)
slowpoke.jpg. Apple switched to USB-C long ago.

>Metal (when Vulkan exists)
Metal has been recognised by gamedev people as vastly superior to Vulkan, for example Jon Blow. Nobody really likes working with Vulkan, which is a mess.

>XCode (needs a Apple device to compile Apple applications)
Why would Apple put effort, people and hours to port XCode to a platform they don't own? And why would a developer develop for Apple platforms without owning them? How are you supposed to test things?

>Operating systems that only run on Apple hardware
Why is that a bad thing? It's their business model. The OS is free, you pay the hardware. Others like Microsoft have to put ads in their OS. And others like Loonix barely put any effort in the desktop because their money comes from giving support to Linux as a server OS, not a desktop OS.

> A bunch of other stuff like the keychain and what not
So you don't know what you're talking about.

>Swift is just another version of vendor lock in, where cross platform support gives the illusion of freedom.
So after saying this, you mention C# as an alternative. LOL
>>
>>109056274
(Cont.)

Hare:
Probably the least like Rust out of all these, with manual memory management and lack of features like generics and metaprogramming, opting for simplicity.
But it makes up for it with stuff like defer, for-each, anonymous sum types, yield, match, and built-in testing.
Which means that picking a language for system software, if you are divided between a low-level language like C and high-level language like Rust, Hare might be the middle ground you want.
Still not 1.0 yet.

Anyways, Swift would be the most like Rust, at least in terms of what niche it fills in safe native general programming and semantic features.
But that doesn't mean it is always a good alternative, since the language you use for a program is determined by what niche needs to be filled and of course how comfortable you are with that language.
Swift is for Apple development first and foremost.
If you are writing a cross platform app, you would want something like Kotlin.
If you are writing a cross platform game, maybe you would want C# and Unity.
If you are writing a small hobby web server, maybe you would try V.
If you are making a small program for embedded devices, perhaps Hare could work.

Or just use Rust for all of them.
>>
>>109048163
>lust provoking image
>>
File: file.png (156 KB, 1374x1106)
156 KB PNG
>>109048176
>C# will never be popular
Nigger you're retarded
>>
>>109053858
I just wanted to say that while you have a lot of mediocre or even dumb opinions, I really like your use of /g/eet to call out how fucked up nu/g/ is.
>>
>>109055234
Unironically what happened was MBAs took over everything. PMs are no longer software devs who went up the ladder, they're clueless fresh grads from a business program who don't even know what software is. But they do know we need "diversity" "or else" (or else what? They don't know that either, but that's what they've been taught, and a good businessman knows better than to test things and think for himself).
They also "know" that you can't have a working tech team without "team players" (what does that mean? They're not sure, but at least they're no longer hiring nerds! Big win!)
>>
>>109056274
>>109056606
>i don't know anything. i'm just copying LLM/web search info
got it. thanks.
>>
>>109056603
>HEVC is not propietary, retard.
Open but has royalties and licensing fees, my bad.
>Works fine with my Windows PC.
Good for you. Now where is the Android app.
>slowpoke.jpg. Apple switched to USB-C long ago.
I know, but only because of the EU forcing them to.
>Metal has been recognised by gamedev people as vastly superior to Vulkan, for example Jon Blow. Nobody really likes working with Vulkan, which is a mess.
Sure, I'm sure it is easy to simplify your graphics API when you are only targeting certain hardware.
The problem isn't that Metal exists, it's that Vulkan isn't supported on Apple devices.
Windows can do it, why can't Apple?
Also, let me know when multi draw indirect is added.
>Why would Apple put effort, people and hours to port XCode to a platform they don't own? And why would a developer develop for Apple platforms without owning them? How are you supposed to test things?
The problem isn't XCode, the problem is you need XCode to publish an app.
Why do I need MacOS to develop for iOS? It should be enough that I have a computer.
Instead you have to look for third party stuff like xtool.
>Why is that a bad thing? It's their business model.
Again, the point is vendor lock-in. I have to use their OS to develop, but for the OS I need their hardware.
>So you don't know what you're talking about.
Okay, just ignore everything else iToddler (you can't use keychain on android, nor apple watch with android, you can't upgrade components of your macbook, sideloading apps is complicated outside of the EU, if you want faster charging you need MFi certified cords, etc.)
>So after saying this, you mention C# as an alternative. LOL
Yeah, because .NET Core has supported macOS from 1.0 back in 2016, while Swift only started supporting Windows in 2020, and C# has more support for devices like consoles.
>>
>>109053555
You have no idea, some of them have a veeeery long laugh about it when they're done with a clown show. Plenty of such cases.
>>
>>109048263
They'd probably ask if she wants taje our not
>>
>>109056826
Nice argument, but I knew these things which is why I could suggest these languages in the first place.
Again, let me know what you would reach for as an alternative to Rust.
>>
>>109055234
being trans is the new cool thing in hyper autistic circles, it's no wonder niche speedrunners and programming language developers all troon out.
>>
>>109056909
>akshually i recommend LadaLang and think whore is serious unironically
>>
File: anyways.gif (3.32 MB, 320x180)
3.32 MB GIF
>>109058621
Have an opinion more than "nuh-uh"
>>
File: 1757661939637395.png (1.35 MB, 2224x2300)
1.35 MB PNG
Here's your javascriptOS bro.
>>
>>109049412
apple likes the money the devs bring in for them, not the devs themselves. if they liked the devs, they would fix xcode, open up platform functionality to align across countries, etc.
>>
>>109058771
no saar. you won izzat with your knowledge. migrating my network projects to LadaLang as we speak.
>>
>>109048184
I'm new to the whole scene and trying to understand this trend. Does this type of conversion get traction because there's so many noobs out there trying to find the "best" programming language to start learning?
Because from my understanding they're suited for different things, making it an apples to oranges comparison
>>
>>109048163
Just watch Mr. Tsoding attempt to use Swift on Linux and it will disabuse you of this notion that Swift is a real programming language.
When I port software to MacOS I just link with LibSystem and use C.
>>
>>109059026
>Linux
who cares
>>
>>109051982
Baseed
>>
>>109048163
Will Smift looks different
>>
>>109058506
trans is just a psyop by big farma. diagnose autists as gender dysphoric and sell them "meds" for life. a genius strategy. they are basically selling ozempic to anorexics
>>
>>109048163
>Will [Apple Product] ever be a true competitor to [FOSS software]?
No.

The same way XCode will never compete with VSCode no matter how much apple wants to force macfags to use it.
The same way Objective C never made it way into any software with any relevance.
The same way Darwin, dispite being Open Source for a long time has never managed to compete with BSD let alone Linux.

Everything Apple touches is radioactive to anyone who wants to write software, that's why nobody uses anything they make
>>
>>109048163
No.

The language is fine, but outside the ecosystem, swift is borderline unusable. It's even worse than C# in this respect.
The open source, multiplatform version of swift is absolute trash even for basic CLI apps and if you need anything beyond that good luck.

It's a shame though. If Apple threw a few bones to the open source and coding community as a whole, they could siginificantly increase their desktop market share.
>>
>>109048163
You CAN'T be serious
>>
>>109059556
It's sad though, appfail had a few good ideas. Dylan, for example.
>>
File: 1775261293109301.jpg (59 KB, 959x959)
59 KB JPG
>>109048163
HNNNNNNNNNNNNNNNNNNNNNNNNNNNNG FUCK! I came...
>>
>>109048263
What if I told you there are trans people in arab countries
>>
>109059759
>No reply so posted the same gif again award
No (You) for (You)
>>
@109059972
2026 and we're still doing this?
>>
>>109055234
it took some time for the xenoestrogens to fully kick in
>>
>>109055234
Trooning out became a trend for a while but has started to die down. I wonder if these guys will reverse troon out down the line when it's no longer "trendy" to do it kek
>>
>>109048197
Yeah, I would tap Becca... tap him on the shoulder and tell him to move
>>
>>109059748
It is a shame but that's what happens when you are hostile to third party software
>>
>>109058997
it's more of an ego issue. people want to feel like "their" language is the best.
especially people who haven't used a lot of languages and are emotionally attached to the one they know.
>>
>>109048163
Will Swift just slapped Chris Rust at the Oscars omg
>>
>>109058506
i mean the wachowskis trooned out too
>>
>>109058784
i used to develop simple html and php sites and now when i do a view source i don't even understand 10% of whats being shown its so fucking alien now. like do you really need all that shit niggers
>>
>>109060540
yes boomer shit has moved past the 80s
>>
>>109048163
That's a man
>>
>> 109060132
How many jeet gifs do you have?
>>
>>109060904
tons apparently
>>
>>109048163
There are those who kinda pass....
...
...
Why. Why. Please, man, this person must have a mirror. Generally, people can identify as whatever they want, but if their appearance just doesn't match that whatsoever, I simply can't accept them. Passing as a fat and ugly chick is the lowest bar to clear and yet, some people just don't have the right genes for it. This is that person trying their absolute hardest to look presentable for their course.
Argh.
>>
>>109048163
https://m.youtube.com/watch?v=lmVe10OtaMw
>>
>>109060532
After doing a shit ton drugs and being mind melded by a dominatrix
>>
>>109056640
>visual basic
wtf?
>>
File: 1780926516514802.jpg (191 KB, 900x1200)
191 KB JPG
>>109058997
it's bikeshedding
>>
>>109056603
> So after saying this, you mention C# as an alternative. LOL
What a surpassed, a retarded /g/eet
>>
>>109055234
A large portion of programmers and computer enthusiasts since home computing took off have been socially awkward and/or low confidence/self-esteem individuals. Somehow, they’ve now been convinced that they feel this way because they’re really women in a man’s body and they’ll be confident and heckin valid if they troon
>>
>>109063756
Well I even know guys who have never started a coding project who do it.
But they'll look at 'languages used' in github and are like, "eeewww 15% JSON! I only trust stuff written purely in C# and rust because it's memory-safe!"

and going on and on about how he's going to learn assembly and rust and write his own linux drivers and stuff and just never does it.
Its like these guys are only interested in computer programming on an aesthetic level. Like 'bare minimum to impress normies' level.

I don't get, treating this stuff like it's a wizard's orb that you need to be a genius to understand, just because you lack the inspiration to try it?
And then going around like "yeah there's three main categories of wizard ball, but I mainly stick to the arcane ones because they use spirit magick as opposed to blood magick."



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.