this post was submitted on 11 Mar 2024
192 points (94.9% liked)

Technology

59693 readers
3123 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Interesting. Samsung making a bold move here, but one that could make sense.

top 50 comments
sorted by: hot top controversial new old
[–] garretble@lemmy.world 88 points 8 months ago (4 children)

Samsung: We make fun of Apple until we copy them outright.

See also: removing ports, having a notch

[–] qdJzXuisAndVQb2@lemm.ee 20 points 8 months ago

Let apple take the flak for moving the market and then quietly copy because of course it's more lucrative... classic.

[–] bitwolf@lemmy.one 5 points 8 months ago (1 children)

Apple was like the third phone with a notch. That's Essential's claim actually.

[–] Natanael@slrpnk.net 8 points 8 months ago (1 children)

And Motorola had true wireless earbuds earlier, etc.

Apple is about polish, not novelty, but a ton of people are obsessed with the idea of Apple as being "groundbreakers" everywhere.

load more comments (1 replies)
load more comments (2 replies)
[–] cmnybo@discuss.tchncs.de 49 points 8 months ago (11 children)

ARM is great on Linux where almost everything has an ARM version and apple can simply mandate that everyone supports it, but where are you going to find windows programs compiled for ARM?

[–] pelya@lemmy.world 22 points 8 months ago (6 children)

The only reason Windows is still relevant is a massive volume of legacy x86 applications.

If that laptop won't support x86 emulation, it'd be actually worse that Linux ARM laptop.

[–] gregorum@lemm.ee 8 points 8 months ago* (last edited 8 months ago) (3 children)

That’s one thing macOS does well: legacy support— at least for x64.

for now…

[–] Spiralvortexisalie@lemmy.world 12 points 8 months ago (1 children)

I have been running Windows 10+11 on arm for years now, the next version of Windows Server 2025 already has an arm preview release. Windows ARM has for a long time had x86 emulation, and has supported x64 emulation since about the start of COVID.

[–] abhibeckert@lemmy.world 3 points 8 months ago* (last edited 8 months ago) (1 children)

Is it actually emulation? Macs don't do that.

They convert the x86 code into native ARM code, then execute it. Recompiling the software takes a moment, and some CPU instructions don't have a good equivalent, but for the most part it works very well.

[–] Spiralvortexisalie@lemmy.world 4 points 8 months ago (1 children)

MacOS does use the term translations for its Rosetta Layer while Windows Arm uses the term emulation. I do believe the technical difference is that MacOS converts x64 code to arm64 on the fly, while part of the reason for emulation on Windows is to support x86 and other architectures. Someone more knowledgeable than me may be able to better compare the two offerings.

[–] BorgDrone@lemmy.one 6 points 8 months ago

macOS converts x86 code to ARM ahead of launching an app, and then caches the translation. It adds a tiny delay to the first time you launch an x86 app on ARM. It also does on-the-fly translation if needed, for applications that do code generation at runtime (such as scripting languages with JIT compilers).

The biggest difference is that Apple has added support for an x86-like strong memory model to their ARM chips. ARM has a weak memory model. Translating code written for a strong memory model to run on a CPU with a weak memory model absolutely kills performance (see my other comment above for details).

[–] tsonfeir@lemm.ee 4 points 8 months ago

They did a good job when moving from os9-osx. Adobe took a looong time to move to osx

load more comments (1 replies)
load more comments (5 replies)
[–] samus7070@programming.dev 5 points 8 months ago (1 children)

Any program written for the .net clr ought to just run out of the box. There’s also an x64 to ARM translation layer that works much like Apple’s Rosetta. It will run the binary through a translation and execute that. I have one of the windows arm dev units. It works relatively well except on some games from my limited experience.

[–] BorgDrone@lemmy.one 15 points 8 months ago (1 children)

Any program written for the .net clr ought to just run out of the box.

Both of them?

There’s also an x64 to ARM translation layer that works much like Apple’s Rosetta.

Except for the performance bit.

ARM processors use a weak memory model, whereas x86 use a strong memory model. Meaning that x86 guarantees actual order of writes to memory is the same as the order in which those writes executes, while ARM is allowed to re-order them.

Usually it doesn’t matter in which data is written to RAM, and allowing for re-ordering of writes can boost performance. When it does matter, a developer can insert a so-called memory barrier, this ensures all writes before the barrier are finished before the code continues.

However, since this is not necessary on x86 as all writes are ordered x86 code does not include these memory barrier instructions at the spots where write order actually matters. So when translating x86 code to ARM code, you have to assume write order always matters because you can’t tell the difference. This means inserting memory barriers after every write in the translated code. This absolutely kills performance.

Apple includes a special mode in their ARM chips, only used by Rosetta, that enables an x86-like strong memory model. This means Rosetta can translate x86 to ARM without inserting those performance-killing memory barriers. Unless Qualcomm added a similar mode (and AFAIK they did not) and Microsoft added support for it in their emulator, performance of translated x86 code is going to be nothing like that of Rosetta.

[–] olympicyes@lemmy.world 3 points 8 months ago

The biggest advantage Apple has is they’ve been breaking legacy compatibility every couple years, training devs to write more portable code and setting a consumer expectation of change. I can’t imagine how the emulator will cope with 32bit software written for the Pentium II.

[–] bitwolf@lemmy.one 3 points 8 months ago* (last edited 8 months ago) (6 children)

Qualcomm has a pretty fast emulator for the growing pains. Microscope offers arm versions for most of their software

But many open source projects could.be cross compiled it wouldn't be long if these things start selling.

load more comments (6 replies)
[–] abhibeckert@lemmy.world 2 points 8 months ago* (last edited 8 months ago) (1 children)

I don't know what these chips are like, but x86 software runs perfectly on my ARM Mac. And not just small apps either, I'm running full x86 Linux servers in virtual machines.

There is a measurable performance penalty but it's not a noticeable one with any of the software I use... ultimately it just means the CPU sits on 0.2 load instead of 0.1 load and if it spikes to 100% then it's only for a split second.

load more comments (1 replies)
load more comments (7 replies)
[–] stealth_cookies@lemmy.ca 38 points 8 months ago (3 children)

I think Qualcomm is probably charging far too much for the SoC. Their pricing has been super high for years because they know nobody is matching their performance on the mobile space. Not sure how much of it is the smaller process nodes too.

[–] MonkderZweite@feddit.ch 17 points 8 months ago (6 children)

Isn't that a bubble? Phones are 10x more performant than they need to be anyway. Not like in gaming/server market where it's always too slow, no matter how fast.

[–] RageAgainstTheRich@lemmy.world 4 points 8 months ago

My phone is now 7 years old and it still works perfectly. Maybe not the newest of the newest games, but i don't care for games on my phone anyways. And the amazing contributors keeping lineageos up to date for my phone model makes me not need a newer phone :)

load more comments (5 replies)
[–] olympicyes@lemmy.world 11 points 8 months ago

My understanding is that Apple had bought up all of TSMC’s 3nm capacity in 2023. That exclusivity may be up now explaining why Qualcomm is selling chips based on 3nm. Looks like they are working with Samsung and TSMC on this chip. This article is bizarre as it underplays the reason someone would buy this laptop. Long battery life, low heat, high performance thin/light is very valuable. Not everyone wants to play games. Will be interesting to see if Microsoft delivers.

[–] M500@lemmy.ml 7 points 8 months ago (1 children)

If it is not cheaper than x86 then people will just keep buying x86 computers.

[–] Railcar8095@lemm.ee 10 points 8 months ago (9 children)

If power consumption is lower, that means can have a more compact cooling. There's a lot of people who would pay the premium for longer lasting and lighter laptops, myself included.

load more comments (9 replies)
[–] unreachable@lemmy.world 12 points 8 months ago (2 children)

meanwhile the long gone RISC hype train

[–] cryptix@discuss.tchncs.de 4 points 8 months ago

Do you mean RISC V

[–] THE_ANTIHERO@lemmy.today 3 points 8 months ago (1 children)

Yeah i was wainting for that ? Did they ever had any plan to do so ?

[–] PHLAK@lemmy.world 5 points 8 months ago

ARM is RISC (or at least a version of it).

[–] Teknikal@lemm.ee 9 points 8 months ago

I won't write them off before I've owned one, I imagine they could be good for things like battery life but I'm not sure if they'd be an improvement over other chips like ryzen apus.

Will be curious to see the advantage and disadvantages.

[–] ElectroLisa@lemmy.blahaj.zone 6 points 8 months ago (2 children)

Samsung uses their competitors chips? Kinda weird to see

[–] ImFresh3x@sh.itjust.works 10 points 8 months ago* (last edited 8 months ago) (1 children)

What, how is Qualcomm competing with Samsung?

Apple uses Samsung hardware, btw.

[–] Owljfien@iusearchlinux.fyi 11 points 8 months ago (1 children)

Samsung make exynos chips which are arm. But Samsung even uses qualcomm in their phones in other regions so it's not unusual

[–] mihies@kbin.social 4 points 8 months ago (1 children)

Exynos are subpar to Qualcomm arm chips, or at least they were not so far ago.

[–] jose1324@lemmy.world 3 points 8 months ago (1 children)
[–] mihies@kbin.social 2 points 8 months ago

To surprise of no-one :)

[–] UnityDevice@startrek.website 6 points 8 months ago

Not sure what you mean, they've always used Snapdragons? The S23 from 2023 uses one, and the S3 from 2012 uses them in some models, and most galaxies between those do as well.

[–] narc0tic_bird@lemm.ee 3 points 8 months ago

I know Windows does ARM to x64 translation decently, but does the chip also feature special hardware functionality to aid this, like the M chips (TSO for example)?

load more comments
view more: next ›