Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Volte
Oct 4, 2004

woosh woosh

Shinku ABOOKEN posted:

adding dependencies to rust projects is a one-line affair. why on earth would you want batteries-included stdlib?


Shinku ABOOKEN posted:

adding dependencies
this is the reason

Adbot
ADBOT LOVES YOU

mystes
May 31, 2006

As NPM as shown, having every piece of software depend on 5000 random packages by unknown people is a great idea.

Workaday Wizard
Oct 23, 2009

by Pragmatica
guess what stdlib is a dependency

Sapozhnik
Jan 2, 2005

Nap Ghost
unrelated to stdlib chat, hey jawnv6 is there any particular reason you're aware of why ppc chips are and always have been so incredibly bad

rjmccall
Sep 7, 2007

no worries friend
Fun Shoe
the architecture is bad and ibm sucks a lot

pseudorandom name
May 6, 2007

can an architecture truly be bad if it doesn't have branch delay slots?

Sapozhnik
Jan 2, 2005

Nap Ghost
what's bad about the arch itself, it seems fairly unremarkable? the bank of condition registers?

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
PPC found its niche in this awkward "too energy-using for mobile", "not fast enough for PCs" market where it fit in snugly with "wall-power embedded" devices like set-top boxes and consoles, but x86 has come down a long way in price and ARM is somewhat efficient now to run a Switch.

There are things I like about the ISA and things I don't. From a reverse engineering perspective, I love it. I'm sure as a compiler engineer it's quite terrible. And I haven't heard great things about the actual processors shipped using it.

BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull
don’t forget Motorola, they sucked a whole lot too

and of course the third leg of the PowerPC triumvirate was early 1990s Apple, not exactly a well run company

consider PowerPC’s origin story. it was very loosely Apple going “hey Motorola your 88000 RISC is kinda ok and we’ve even built prototype macs complete with working 88k MacOS, but we don’t trust you at all after your shameful failure to keep 68k at least even with x86 so we need a second partner. how’s about you get in bed with IBM and us and we’ll take almost all of the ISA from IBM POWER, not 88k, because we’re real tight with ibm right now. we’ll throw you the bone of PowerPC using the 88000 bus, since that’ll save us from having to redesign our RISC Mac chipsets from scratch. yeah you have to eat the loss of designing 88k, is that ok???”

yeah that was doomed

tbh ive never seen reason to believe PowerPC the ISA was fatally flawed. there were issues but you could’ve made good implementations of it. it’s just that the actual implementations got off to a rocky start due to the bad companies and politics involved, and they never recovered from getting dumpstered by 1990s Intel, which shocked the world by proving you could build a superscalar pipelined x86 that was pretty awesome despite the ugliness of the ISA (all hail Bob Colwell and his team)

JawnV6
Jul 4, 2004

So hot ...
whew, pressure's off since knowledgeable folks already chimed in

i've never worked with ppc in depth. i know it has the best instruction mnemonic ever, predictable given that it Enforces In-order Execution of I/O EIEIO

this is a good book on a particular implementation of Power: The Race for a New Game Machine

the author's a self-aggrandizing rear end, but if you're willingly reading my posts it's probably not an issue. the gist is that Sony had IBM developing the Power7 for the PS3, MS comes sniffing around for a Xbox360 core, some desperate IBM exec leaks details about the sony chip and MS bites hard. the IBM team has to build the chips for both consoles in parallel and try really hard to not let on to Sony what's happening. the (bitter expat) gives a pretty bleak picture of upper IBM mgmt

all the chip design stuff rang pretty true to my experience. especially the lead architect's opinion of the validation manager.

fritz
Jul 26, 2003

Progressive JPEG posted:

sounds complicated, ill just paste this function i found on stack overflow

odds are part of that stack overflow answer is gonna include "add the rust crate to your cargo.toml" or similar?

ive only been playing around with rust off and on for a couple weeks so i dont know if their package management is trash but christ after all those years of managing c and c++ dependencies im easily impressed

Progressive JPEG
Feb 19, 2003

the package management is actually quite good in rust i'm being a bit ridiculous

if it was go or python then yeah you'd better hope that poo poo is in the stdlib

Notorious b.s.d.
Jan 25, 2003

by Reene

Suspicious Dish posted:

PPC found its niche in this awkward "too energy-using for mobile", "not fast enough for PCs" market where it fit in snugly with "wall-power embedded" devices like set-top boxes and consoles, but x86 has come down a long way in price and ARM is somewhat efficient now to run a Switch.

There are things I like about the ISA and things I don't. From a reverse engineering perspective, I love it. I'm sure as a compiler engineer it's quite terrible. And I haven't heard great things about the actual processors shipped using it.

ppc is currently the fastest architecture available on the planet. out of the last 25 years, ppc has been the performance champion for at least 15 of them

what the gently caress are you talking about with "not fast enough for PCs"

(are you sure you are not confusing power, the architecture, with motorola, the vendor, who failed to deliver fuckall?)

Notorious b.s.d.
Jan 25, 2003

by Reene
right now, today, a ppc chip is roughly 1.5x to 2x as fast as the best intel x86 chips, depending on workload

it will also suck down 4x the wattage per core, and cost you 5x to 20x as much money

it's fuckloads faster but with a billion provisos

ppc assembly sucks poo poo, but plainly ibm knows how to design some fuckin silicon

Kazinsal
Dec 13, 2011
how much did big blue pay you for those posts

i hope for their sake it wasn't much

Notorious b.s.d.
Jan 25, 2003

by Reene

JawnV6 posted:

the author's a self-aggrandizing rear end, but if you're willingly reading my posts it's probably not an issue. the gist is that Sony had IBM developing the Power7 for the PS3, MS comes sniffing around for a Xbox360 core, some desperate IBM exec leaks details about the sony chip and MS bites hard. the IBM team has to build the chips for both consoles in parallel and try really hard to not let on to Sony what's happening. the (bitter expat) gives a pretty bleak picture of upper IBM mgmt

either your summary is horrendously wrong or the book is horrendously stupid

  • the POWER chip in use at the time the cell and xenon processors were developed was POWER 4, not 7

  • architecturally, there ain't poo poo in common between POWER4 or POWER7 vs cell or xenon

  • cell and xenon both look pretty much nothing like any POWER or Apache or RS64 chip, ever

    all of them, going back to POWER2, in the early 90s, were superscalar. in-order ppc was a weird new thing to ibm at the time

Notorious b.s.d.
Jan 25, 2003

by Reene

Kazinsal posted:

how much did big blue pay you for those posts

i hope for their sake it wasn't much

big blue can eat poo poo

the ibm sales process rivals oracle for horror

their price list is a shitshow. you would have to be a moron to pay for linux on power. you would have to be blindfolded with a gun to your head to pay for aix on power.

the only good thing i have to say about the whole loving thing is that power chips are very, very, very fast.

(don't buy them)

BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull
as far as i can tell from spec.org power9 isn't very impressive tbqh

it looks very good in terms of specintrate 2017 per "core", but that's because of ibm's extremely aggressive 8 threads per core thing. they don't seem to have submitted any specint results, so it's a fair guess that they'd look bad on that metric. so it's one of those machines where you're trying to make up for lackluster ST performance by running lots of threads, which is not great. and even then, intel is considerably ahead of power9 on 2-socket specintrate

i don't doubt there are workloads where power9 is better (specintrate isn't the best thing in the world, ibm is also exotic in the sheer amount of cache they've got and that will help some things), but it is not the clear leader you're making it out to be

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?
PRNG is stored in the platform

brand engager
Mar 23, 2011

entropy is stored in the balls

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

BobHoward posted:

but we don’t trust you at all after your shameful failure to keep 68k at least even with x86

this is not in any way true though, up to the 68040 they were even

it was in the 486 and then seriously the Pentium where Intel really started to race ahead and even then, 88000 and PowerPC were pretty even at the same clock

and then G3, G4, and G5 managed to be pretty substantial advances at their release, but IBM couldn’t reduce G5 to mobile and Motorola wouldn’t (because they were angry at IBM about G5 and getting progressively more focused on embedded anyway) so that catches you up to 2005 and Apple’s Intel transition

quote:

tbh ive never seen reason to believe PowerPC the ISA was fatally flawed

that’s because it’s not, POWER is a perfectly fine ISA, though better implemented using the well-defined POWER runtime than the “let’s do everything PC-relative on a CPU that doesn’t have PC-relative addressing” Mach-O runtime

now ROMP (IBM PC RT), that architecture is a shitshow

it’s a second system RISC (successor to 801, predecessor to POWER) except it doesn’t have uniform instruction size, allows unaligned access, and defines things like I/O channels in the CPU architecture

(I’m writing an emulator right now, like I literally have it open in Swift Playgrounds on my iPad Pro at the moment, and while it’s interesting and nobody else seems to have done it, I’m not pretending I’m super eager to run AIX or AOS…)

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Notorious b.s.d. posted:

ppc is currently the fastest architecture available on the planet

lmao

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
assuming you're talking about IBM POWER processors (which, in an extremely-IBM fit of naming, do not run "POWER" nor "PowerPC" but "Power". Yes, IBM thinks of those as three separate ISAs. But the processors themselves are "POWER", not "Power")

uh, "fast". Sure bud.

Phobeste
Apr 9, 2006

never, like, count out Touchdown Tom, man

Volte posted:

this is the reason

to expand on this, it's not that adding dependencies on its own is bad. it's when you've got an ecosystem and a culture that always relies on it to the extent where a bunch of modules are really just stitching together a couple dependencies, and those dependencies are actually just pretty simple module stitching together a couple of dependencies with some new semantics, and before you know it you've gone from "oh i'll add a little module to interact with github's api so i don't have to remember the auth details" to ok, well that added 5 deps on its own transitively, then i wanted to interact with this other thing, that was another 5... and you've got hundreds or thousands of random deps many of which you may be completely unaware of because they're dozens of levels down the dependency tree and half of them are doing insanely basic things like typechecks or basic numeric operations. a shitload of that can be nipped in the bud with even a basic standard library, and a bunch more with a batteries-included standard library.

now, things like python and the c++ stl have taught us that tying standard library versions to language versions (as in, shipping the one with the other) probably isn't smart, but as much as people are decrying it having an "extras" or "batteries" or "stuff" crate that's developed by the language ecosystem maintainers would legitimately be a great complement to the language

BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull

eschaton posted:

this is not in any way true though, up to the 68040 they were even

it was in the 486 and then seriously the Pentium where Intel really started to race ahead and even then, 88000 and PowerPC were pretty even at the same clock

i might be misremembering the sequence of events since i was a teen at the time, but i remember the 486 being widely available well before the 040

agreed that the lack of an immediate answer to the pentium was the nail in the coffin. motorola did eventually ship the 060, but it wasn't great

Notorious b.s.d.
Jan 25, 2003

by Reene

BobHoward posted:

as far as i can tell from spec.org power9 isn't very impressive tbqh

it looks very good in terms of specintrate 2017 per "core", but that's because of ibm's extremely aggressive 8 threads per core thing. they don't seem to have submitted any specint results, so it's a fair guess that they'd look bad on that metric. so it's one of those machines where you're trying to make up for lackluster ST performance by running lots of threads, which is not great. and even then, intel is considerably ahead of power9 on 2-socket specintrate

i don't doubt there are workloads where power9 is better (specintrate isn't the best thing in the world, ibm is also exotic in the sheer amount of cache they've got and that will help some things), but it is not the clear leader you're making it out to be

specint blows

and lol @ ibm's idiot idea about MOAR THREADS

the reality is on actually-existing java and c++ workloads in my actual job, POWER9 demonstrates significantly faster per-thread performance

and i give zero fucks

because lol @ the wattage and cost

holy poo poo how crazy would you have to be to spend literally 20x as much money to get 1.5x the single thread performance

Notorious b.s.d.
Jan 25, 2003

by Reene

BobHoward posted:

i might be misremembering the sequence of events since i was a teen at the time, but i remember the 486 being widely available well before the 040

your experience is crap. the 80486 was made available in 1989

what you are remembering is that the 80386 and 80486 became hella cheap in the 1990s

in the 1980s, the 80386 and 80486 were crazy expensive chips that only showed up in weird systems

BobHoward posted:

agreed that the lack of an immediate answer to the pentium was the nail in the coffin. motorola did eventually ship the 060, but it wasn't great

the pentium competed with high-end risc designs

by that time the 68k series was long dead, even by motorola standards. the only remaining uses were embedded.

by the time the pentium shipped, the motorola 88k had already shipped, failed to find a market, and been discontinued

Notorious b.s.d.
Jan 25, 2003

by Reene

Suspicious Dish posted:

assuming you're talking about IBM POWER processors (which, in an extremely-IBM fit of naming, do not run "POWER" nor "PowerPC" but "Power". Yes, IBM thinks of those as three separate ISAs. But the processors themselves are "POWER", not "Power")

uh, "fast". Sure bud.

ibm has shipped three or even five separate "ISAs" that are all closely related, with three or more processor families, for the last thirty years

for the last 25 years, things branded "RS64" or "POWER" have been speed champs for 15. not contiguously

ibm is very good at designing processors. whether you want to actually pay ibm's prices for them chips, that's a separate question

i would not encourage anyone to buy software or hardware from ibm

but it's fuckin stupid to pretend ibm isn't faster than x86

Cybernetic Vermin
Apr 18, 2005

Notorious b.s.d. posted:

holy poo poo how crazy would you have to be to spend literally 20x as much money to get 1.5x the single thread performance

not very crazy at all depending on what you're up to. single-thread performance is one of those actually durable advantages, as there is no substitute whatsoever for it in some tasks.

Notorious b.s.d.
Jan 25, 2003

by Reene

Cybernetic Vermin posted:

not very crazy at all depending on what you're up to. single-thread performance is one of those actually durable advantages, as there is no substitute whatsoever for it in some tasks.

i know in abstract those workloads exist but they scare me and I’m glad it doesn’t fall on my rear end to justify budget for POWER chips

champagne posting
Apr 5, 2006

YOU ARE A BRAIN
IN A BUNKER

Notorious b.s.d. posted:


holy poo poo how crazy would you have to be to spend literally 20x as much money to get 1.5x the single thread performance

this is something bankers and investment bankers are into

so the scum of the earth basically

Xarn
Jun 26, 2015

Suspicious Dish posted:

the only thing that made mersenne twister get adopted was the cool name. it's otherwise an extraordinarily mediocre prng, and was at the time.

It also has amazingly, mind bogglingly long repetition period, which nobody actually needs.

feedmegin
Jul 30, 2008

Suspicious Dish posted:

There are things I like about the ISA and things I don't. From a reverse engineering perspective, I love it. I'm sure as a compiler engineer it's quite terrible. And I haven't heard great things about the actual processors shipped using it.

Can confirm that Power CPUs are Actually Fast. They're no SPARC or Itanium, they've actually kept up. I don't think they're particularly annoying to target with a compiler either, try Thumb for that.

Notorious b.s.d.
Jan 25, 2003

by Reene

Boiled Water posted:

this is something bankers and investment bankers are into

so the scum of the earth basically

ah, professional-grade tools for picking up nickels in front of a bulldozer, huh?

Cybernetic Vermin
Apr 18, 2005

well, the operation of the bulldozer is also a case (e.g. generating all implieds in derivatives markets is usually np-complete, but the best possible effort should be put forward as failing to generate some of the volumes, or failing to do it quickly, leaves pennies around for the vultures to pick up)

ultramiraculous
Nov 12, 2003

"No..."
Grimey Drawer

rjmccall posted:

ibm sucks a lot

shocking if true

Sapozhnik
Jan 2, 2005

Nap Ghost
i'd imagine you could get quite a lot of single-thread performance if you make a die the size of a coaster, fill it with cache, then decide you don't give a poo poo about TDP whatsoever

but yeah your yields will be dogshit and so will your price

intel at least recognizes that most server farms care a lot more about performance per watt than they do about performance

Vomik
Jul 29, 2003

This post is dedicated to the brave Mujahideen fighters of Afghanistan
is ppc libre like speech?

animist
Aug 28, 2018
is spirv real

Adbot
ADBOT LOVES YOU

animist
Aug 28, 2018
also cargo is great but compiling takes so drat long >:?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply