mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Puzzles (https://www.mersenneforum.org/forumdisplay.php?f=18)
-   -   Krack ze Kode, before ze Krauts Kommen (https://www.mersenneforum.org/showthread.php?t=17507)

chalsall 2013-01-11 18:53

[QUOTE=ixfd64;324425]Try porting Prime95 to [url=http://en.wikipedia.org/wiki/Malbolge]Malbolge[/url].[/QUOTE]

George effectively did.

How close to the "metal" would you like to get?

Dubslow 2013-01-11 21:53

[QUOTE=chalsall;324428]George effectively did.

How close to the "metal" would you like to get?[/QUOTE]

No no, try porting the thousands of lines of C into Malbolge. (Admittedly there are many thousands [i]more[/i] lines of assembly than C, but assembly is still easier to read than Malbolge (which is in turn easier to read than machine code :smile:)).

chalsall 2013-01-11 22:29

[QUOTE=Dubslow;324445]No no, try porting the thousands of lines of C into Malbolge[/QUOTE]

That's what compilers are for.

Never send a human to do a machine's job. Unless, of course, the human is better.

Dubslow 2013-01-11 23:36

[QUOTE=chalsall;324447]That's what compilers are for.[/QUOTE]
Has anyone written one?

chalsall 2013-01-11 23:57

[QUOTE=Dubslow;324449]Has anyone written one?[/QUOTE]

Are you familiar with YACC?

Dubslow 2013-01-12 01:59

[QUOTE=chalsall;324452]Are you familiar with YACC?[/QUOTE]

Sure, but what about the backend? What YACC et al. produce can parse the source code into some suitably powerful and abstract representation (syntax tree or whatever) from which typical assembly or other code can be written, but I dare you to write something which can produce Malbolge code.

Keep in mind that the "Hello World!" program was literally [URL="http://www.acooke.org/malbolge.html"]discovered by a brute force attack[/URL], and how to do loops in it is still not very well understood (though someone was able to write a [URL="http://www.99-bottles-of-beer.net/language-malbolge-995.html"]99 bottles of beer[/URL] program).

chalsall 2013-01-12 18:01

[QUOTE=Dubslow;324459]... but I dare you to write something which can produce Malbolge code.[/QUOTE]

I was (trying) to make a joke...

I have better things to do with my time then write a compiler for Malbolge. :smile:

ewmayer 2013-01-12 20:21

[QUOTE=Dubslow;324449]Has anyone written one?[/QUOTE]

I think you just did, both after the 'any' and immediately preceding the question mark.

chalsall 2013-01-12 20:55

[QUOTE=ewmayer;324523]I think you just did, both after the 'any' and immediately preceding the question mark.[/QUOTE]

Very funny!!! :smile:

ewmayer 2013-02-07 03:08

[QUOTE=chalsall;324528]Very funny!!! :smile:[/QUOTE]

That's 'cause being Austrian, not German, I can have a sense of humor about these things, no national pride being at stake.


All times are UTC. The time now is 05:33.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.