Deutsch English Français Italiano |
<2024Jun15.094309@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.arch Subject: Re: Privilege Levels Below User Date: Sat, 15 Jun 2024 07:43:09 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 40 Message-ID: <2024Jun15.094309@mips.complang.tuwien.ac.at> References: <jai66jd4ih4ejmek0abnl4gvg5td4obsqg@4ax.com> <Z9I8O.13$2JEf.11@fx14.iad> <5h%8O.4327$wDZ.776@fx48.iad> <1316e4baa439de908666e38c39cd8c79@www.novabbs.org> <v4fu7n$2gbrf$1@dont-email.me> <3f74838dec0fa5fd4df0ec1e2bb6f6bc@www.novabbs.org> <d21o6jtt7cjthp0t8j4em3coh5jff0js5v@4ax.com> <v4if4f$32pot$1@dont-email.me> <v4ifbt$32kuq$8@dont-email.me> Injection-Date: Sat, 15 Jun 2024 09:56:19 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9f18aa4b20e466e28971eda080f8bf80"; logging-data="3531490"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BM7K7u26PgOhUuxUmSni1" Cancel-Lock: sha1:pN5UmvvEOJf5TY6piVqmNxCLn0k= X-newsreader: xrn 10.11 Bytes: 2797 Lawrence D'Oliveiro <ldo@nz.invalid> writes: >On Fri, 14 Jun 2024 22:10:23 -0000 (UTC), Thomas Koenig wrote: >> It's not quite that simple - if you try to build a modern web brower for >> POWER on Linux, for example, you're in for quite an adventure. > >Endianness assumptions? OpenPower is little-endian, so I doubt that this is the reason. From what I read, Web browsers are a beast to build. >I think essentially all of the basic toolchain is >already available, so what’s left would be mostly bugs in the app code >itself. There's a huge difference between what application maintainers consider bugs in application code and what the C and C++ compiler maintainers do. >For which I’m sure they would accept patches. Who would write them? I have posed a challenge to advocates of undefined behaviour as the way to efficiency in <2017Aug18.152854@mips.complang.tuwien.ac.at>: |Write a proof-of-concept Forth interpreter in the language you |advocate that runs at least one of bubble-sort, matrix-mult or sieve |from bench/forth in |<http://www.complang.tuwien.ac.at/forth/bench.zip> Nobody has risen to the challenge, much less submitted patches to convert Gforth to the kind of C code that gcc officially supports. Fortunately, the practice is quite a bit better than what the advocates threaten, so Gforth builds nicely on RISC-V, and, last I tried it, on Power. - anton -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>