3 ms·
Writing different backends for each supported target would either be taking on a lot of work or shedding some targets.
by wyldfire 10y ago
Writing different backends for each supported target would either be taking on a lot of work or shedding some targets.
- coldtea 10y ago>Writing different backends for each supported target would either be taking on a lot of work or shedding some targets. Do any non statistical outliers care about non amd64 and ARM?
- soulbadguy 10y agoOpenPower,xeon phi for one; Even within the amd64 and arm families, there are enough variations (AArch vs qualcomm) and evolutions (SSE3 to SSE4) to make the task of developing a new and performant backend from scratch very resource consuming Also while taken individually most of the non amd64/arm platforms might not be significant, combine together they still represent a big share of the pie, doubly more so in the embedded world which rust (tries?) to target.
- coldtea 10y agoXeon yeah, haven't thought of that. For OpenPower, let IBM do it :)
- bzbarsky 10y agoFor a browser? 1/3 or more of desktop Windows users are on 32-bit Windows, last I checked. So you definitely care at least about ix86 of some form.
- wyldfire 10y agoWhat's a browser got to do with it?
- coldtea 10y agoI guess the parent thinks or implies that since Rust was created to help Mozilla build a next-gen rendering engine, platforms with browsers is the only domain they care about supporting.
- Manishearth 10y ago> platforms with browsers is the only domain they care about supporting. What? No. It means that platforms with browsers are part of the domain Rust cares about supporting. Not the only domain. You asked for non-outliers, bz gave an example of browsers. There's plenty of work to make Rust work on embedded platforms where no browsers operate, and some of this is being done by Rust contributors employed by Mozilla. No need to assume that Rust is only focused to the needs of browsers.
- bzbarsky 10y agoNo, I mean that platforms with browsers are a domain that Rust _must_ support for the use case Mozilla is developing it for. That doesn't preclude desiring support for other platforms, but is a minimum bar.
- bzbarsky 10y agoIn the specific context of Rust, being able to build a browser is a large part of the point. That means supporting platforms where people use browsers.
- klodolph 10y ago"Statistical outliers" are more important than their frequency suggests. Architecture lock-in shifts political power away from developers and to CPU vendors.