11 April 2022, 11:42 | #221 |
Registered User
Join Date: Dec 2019
Location: Ur, Atlantis
Posts: 1,899
|
|
11 April 2022, 11:44 | #222 | |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 807
|
Quote:
|
|
11 April 2022, 12:02 | #223 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
But it is pretty much unimportant anyway - as a working asm source can be obtained back from ML. |
|
11 April 2022, 12:38 | #224 |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 807
|
afaik there's intermediate representation involved which IS NOT asm and while some compilers indeed use asm at the end process (gcc) not all of them (iirc msvc does not, I'm not sure about llvm, probably depends on target...)
|
11 April 2022, 14:57 | #225 | |
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
How about this one: https://couchdb.apache.org https://github.com/apache/couchdb Well defined stable feature set. Stable API for years. No GUI, no real dependencies on the OS. The current implementation in based on Erlang and the BEAM VM. How long would it take you to make a handwritten fully funktional clone in 68K ASM? (If it would exist, I would use it.) Last edited by Gorf; 11 April 2022 at 15:59. |
|
11 April 2022, 15:31 | #226 |
Registered User
Join Date: Nov 2019
Location: Croydon
Posts: 580
|
lol its 2022, amiga enters the world of deprecated 3D with no apps to support it... no thanks
|
11 April 2022, 16:01 | #227 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
But as i said earlier, i don't work for free on projects that don't interest me. Wait. If other languages are so good, how come nobody did that already with one of them ? With what has this program been made already ? Why don't we have this language available for our miggies ? |
|
11 April 2022, 17:17 | #228 | |||||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
A complete fresh start from the API definitions would probably make much more sense. Quote:
Quote:
That said: It's not that erlang is somehow bad or needs to be replaced in the first place other than many coders are not familiar with it. Still nobody tried to do it in ASM. Why? Quote:
The native file format even uses IFF: https://www.erlang.org/doc/man/beam_lib.html Quote:
A port of BEAM VM and erlang in 68k assembler would also be nice. |
|||||
11 April 2022, 17:57 | #229 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Sometimes these things are unclear and unsuitable for a full reimplementation. The biggest part for such a project isn't actual implementation, it's all about knowing what exactly is to be done... Even if i did it, you (and/or the others here) wouldn't admit you're (or they're) wrong. So that's quite a lot of work for basically nothing. Why not starting with something simpler ? With which size do "HLL advantages" are supposed to start to show up ? If HLLs are so good, even for moderate-sized projects it should show ? Maybe even for small ones ? Fancy a coding contest then ? Quote:
Or maybe these languages are finally not that portable after all ? Because nobody cared about the Amiga. Or, "Because nobody ported it." Why ? HLLs are supposed to be portable aren't they ? Quite a lot of things would be nice. Now why does not a C lover from here port that with C ? Shouldn't it be a lot easier ? |
||
11 April 2022, 18:02 | #230 |
Registered User
Join Date: Nov 2019
Location: Croydon
Posts: 580
|
jesus f christ
|
11 April 2022, 20:06 | #231 | |||||||||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
https://en.wikipedia.org/wiki/Repres...state_transfer https://en.wikipedia.org/wiki/JSON Quote:
I never said you can not do it, just that there is no evidence, so we can not know. If there is evidence I am happy to acknowledge that. Quote:
Just some isolated routines or algorithms do not prove your claims. Quote:
99% of projects outside of Amiga-land are done in some HLL. Probably because a goal is much easier and faster to archive this way. You say these are all bloat. Maybe. But still virtually nobody wants to do these things in assembler. Even in time-critical fields with very few exceptions. Even in scientific High Performance Computing where processor-time still matters almost nobody is using assembler. And that is not just because x86(_64), POWER or ARM assembly is not that nice: One could use a nice orthogonal 68K or NS32000 like "language" instead... but virtually nobody does. My interpretation from my own experience is, that it is just to tedious and rough to do so. It would cost me so much more time to reach my goal, or I would probably not even get there ... That might be different for you - but there is still no proof of that. Quote:
But it is still good enough to earn my living with it, but only because I take the easy (smart?) road. I use said CouchDB in my projects and it works. A smaller faster version in handcrafted ASM would be nice, but I certainly would not be able to do that in many years - if at all! But I need to use it now, so I use what is there. And I use other bloatware like node.js and JS to build my projects that use this DB on the server-side ... and other bloated tools to write the client-side. It is stable, it scales almost indefinitely, it runs in parallel, and I can easily make adjustments and reuse my code ... and not only I can do that but also others working on that project. I could not do that in ASM, no matter what ISA. Quote:
Quote:
Older versions of erlang do run on the Amiga on 68k Debian. Quote:
And they are (in general) not more portable than other programs. The advantage is not that the HLL itself is portable, but that other programs written in that language can be recompiled on various systems and platforms once a compiler for these platforms exist. The complete Linux user-land and 99% of the kernel are written in a HLL ... and guess what: it runs (natively!) almost everywhere on almost everything (including Amigas). Whereas 68k-Assembly coded Amiga programs run only on Amiga unless you emulate the whole hardware on an other machine. Quote:
It was not about porting things written in a HLL to other hardware or systems, but about the question if it is really doable in handcrafted ASM. Last edited by Gorf; 11 April 2022 at 20:27. |
|||||||||
11 April 2022, 20:39 | #232 | ||||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
For me it looks like a typical case of "making a mountain out of a molehill" (or "using a tank to go shopping", at your choice). Quote:
Quote:
Quote:
Quote:
Why do you want that ? Don't you just want a program that works ? Quote:
Quote:
Besides, an ahead-of-time compiler isn't that different from a static compiler used for HLLs, so one could treat 68k-asm exactly like if it were just another language to be compiled. Quote:
The thing is, i will not write an enormous program just to prove people here that they are wrong. Actually anything i could do wouldn't be accepted as a valid proof, knowing how stubborn some folks can be. I could tell yourself that i can handle a one-megabyte executable for a whole game in pure asm just fine and you would find an excuse to not accept this as a proof (not complicated enough ? too small ?). |
||||||||
11 April 2022, 21:04 | #233 | |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 807
|
Quote:
|
|
11 April 2022, 21:06 | #234 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
|
11 April 2022, 21:17 | #235 | |
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,546
|
Quote:
- Over 3,000 people per day are dying in the UK alone, from virus that was preventable with modern technology but we were too dumb to use it. - Russia is attacking a democratic European country to eliminate 'drug-taking Nazis'. - A global microchip shortage shortage is seriously curtailing the production of many products, including motor vehicles. - The biggest application for graphics chips is making fake money. - Online trolls are even invading retro computing forums where people are just trying to forget about the ills of the modern world and have fun like we used to in the 90's. |
|
11 April 2022, 21:52 | #236 | ||||||
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,546
|
Quote:
Quote:
This has to be the worst argument ever. Imagine you bought a car in 1997 (same year I purchased a license for ProAsm) and today were told you should discard it for this new vehicle which has a top speed of 5kph. Would you take that advice? Quote:
The same problem applies to many other programs produced for the Amiga and other platforms. People today are going to great lengths to decompile or rewrite from scratch code for classic games etc. on the PC too. Games like Doom and Quake get ported to the Amiga not necessarily because we want to play those games specifically, but simply because we have the source code for them. Quote:
In 1991 I bought an A3000 at great expense primarily to cut down assembly time on the commercial project I was working on. As you know, time is money. With a faster machine I could be more productive. Funny thing is, shortly after buying the A3000 I discovered Devpac, which was 5 times faster than my previous assembler. The A3000 was 5 times faster than my A1000, so I could have avoided the expense of a new computer simply by upgrading to a more efficient assembler! Quote:
Quote:
|
||||||
11 April 2022, 22:27 | #237 | |||||||||||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
For this particular one, which I also use for my project, there are many other examples: Users of CouchDB include:Well, good that it is only a molehill: Quote:
Quote:
It fits on a singe floppy (so does AmigaOS), but you couldn't do anything with it... It was at this time far less impressive than the QNX floppy ... Later someone ported some C libraries and POSIX stuff to make Doom running ... all not in assembler. Now many years later it seams there are a couple of small programs available ... Still a great achievement, but on a very slow development path - because of ASM? Will you port it to the Amiga-hardware? Quote:
So the work on the other side is already done. You can prove your point, by making a better version in handcrafted ASM. As you prefer 68K, that would be fine. Quote:
Your claim was, you could do that with any large program written in HLL by reimplementing it in ASM. Quote:
E.g: ejabberd (XMPP server (Jabber server), MQTT broker and SIP gateway) Wings 3D (polygon modeller) and of course a second language "Elixir" that uses the Erlang VM https://elixir-lang.org Which in turn brings us things like: Phoenix (web application constructor/framework) Bamboo (mailserver) Kalevala (world building toolkit for text based games) Ratatouille (declarative terminal UI kit) Toby (Terminal for Ratatouille) Loki, ExCLI (toolkit for building command-line interfaces) Numerix (statistics, linear algebra, machine learning ...) Quote:
(Not that secret frameworks are helpful for the rest of us...) Quote:
Quote:
It was simply chance to prove your claims. Quote:
Quote:
Some version of the same thing, done in HLL. Last edited by Gorf; 11 April 2022 at 22:42. |
|||||||||||
11 April 2022, 22:47 | #238 | ||
Registered User
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
|
Quote:
So far so understandable. But: Quote:
Not getting both in the end would lead to frustration, wouldn't it? |
||
11 April 2022, 23:13 | #239 | |||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Which amounts to ? Quote:
But may I recall you the terrible truth ? It is x86 asm ! Where's the point in doing that ? We already have a lean-and-mean OS ! Quote:
Thus i'd prefer having someone implement in HLL something that's already done in handcrafted ASM Quote:
Quote:
Yes, 68k Macs as well. It's not "secret", a few people got some version of it. It starts by just asking. How did Apple handle compatibility with 68k code when they switched to PPC already ? Quote:
Why should i prove anything, anyhow ? This is the way life is. Quote:
You (or anyone) could attempt to beat my 030-optimized version of mpega.library with HLL (Or do any other format with similar cpu power requirements.) Or perhaps decode and show a jpeg image on regular AGA machine ? Or PNG maybe ? Fast HAM8 renderer must be real fun to do in C |
|||||||
11 April 2022, 23:55 | #240 | ||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,216
|
Quote:
Ever wonder what the "quad" files are the Lattice C compiler generates (and the SAS/C compiler still holds internally)? This is exactly the internal representation. It is not assembler. It is an abstract description on the program flow and the objects that are manipulated. Only the very last part of the compiler creates object code from this abstract description, the "code generator". So, for example, here is how SAS/C works: "sc1" is the preprocessor and parser. Its output is the abstract description of the code, the "quad" file. "scgo" is the "global optimizer", it optimizes beteween functoins, on the "quad" file. "sc2" is the final code generator from the quad file. There is no assembler at any level, it goes from quad to object code. You get an assembler as part of the package ("asm"), and even an object code disassembler ("omd"), but that's not run as part of the compilation process. You can check with SnoopDos if you want. No, it doesn't. The gcc package comes with an assembler, "gas", but it is not required for the compiler chain. It uses a similar workflow as SAS/C, but quite a bit more sophisticated over multiple representations of the code. Quote:
[/QUOTE] But it is pretty much unimportant anyway - as a working asm source can be obtained back from ML.[/QUOTE] Not quite, as with just having object code, you still do not know what is code and what is data, or whether it is even both. |
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apollo 1240 missing Mach chip | Benfromnorway | MarketPlace | 3 | 01 June 2016 21:53 |
Apollo 1240@25mhz + 32mb Ram (Mach131 chip so can be upgraded to 060) | fitzsteve | MarketPlace | 4 | 16 August 2010 19:01 |
Gauging interest: Amiga 600HD, Apollo 620, 2MB Chip, 8MB Fast | chiark | MarketPlace | 9 | 25 November 2009 20:18 |
Wanted: MACH131 chip from Apollo 040 or 060 | 8bitbubsy | MarketPlace | 8 | 29 October 2009 15:55 |
Cedric and the lost scepture Demo/Preview-Version | mai | request.Old Rare Games | 3 | 28 March 2008 16:27 |
|
|