Page 2 of 2
Re: Create programming language to develop emulators
Posted: Thu Mar 17, 2011 10:42 am
by blobmiester
I am completely obsessed with emulation (second now only to operating systems development). There I said it. Emulation is what got me started programming back in 1997.
Anyway, putting that aside.
@Ves: If you could make a general framework for creating a dynamic recompiling emulator, that would simply be awesome. I believe something like this is best suited for a C++ library. I've created a few simple dynamic recompiling emulators and the speed difference is crazy. I've meant to make a general framework myself but I've never really found the spare time. Good luck. If you need any help on random knowledge about emulation, I'd be glad to help.
Re: Create programming language to develop emulators
Posted: Thu Mar 17, 2011 11:59 am
by Tosi
For dynamic code generation and just-in-time compilation you could
GNU Lightning. It uses a specialized RISC instruction set for the code and supports output for x86, SPARC, and PowerPC architectures. I have never used it so I don't really know anything ab out it though.
There are however, no general frameworks for emulator creation. Such a library would be massive, and probably slow because it would have to have a lot of features and overhead to be robust enough to handle emulator creation for any hardware platform. Libraries like Lightning are only for code generation, which is much easier to abstract.
Re: Create programming language to develop emulators
Posted: Thu Mar 17, 2011 2:27 pm
by blobmiester
GNU Lightning... hmm. Sounds interesting. That's basically what I was thinking. A framework for runtime code generation. I'll have to look in to it.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 2:50 am
by ves
I use wiki farm free hosting place to present my idea. It is still under construction. When it is in good for, I will post link here.
Berkus do not worry about me. I know assembler and computer architecture enough. I also know C++ (not perfectly), but do not like it, and so have no experience to work with it (usually I programming in C and assembler)! So, it is good someone else to do only this part of all task - create C++ interface. Implementation can be done in C without problems.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 3:12 am
by eddyb
ves wrote:I use wiki farm free hosting place to present my idea. It is still under construction. When it is in good for, I will post link here.
Berkus do not worry about me. I know assembler and computer architecture enough. I also know C++ (not perfectly), but do not like it, and so have no experience to work with it (usually I programming in C and assembler)! So, it is good someone else to do only this part of all task - create C++ interface. Implementation can be done in C without problems.
<PM>
ves wrote:In this post:
viewtopic.php?f=13&t=23314&start=15
I mention about the following place:
http://emulang.wikia.com/wiki/Emulang_project_Wiki
Unfortunately not written in good English just now.
You are well come to write in this wiki to discuss, and improve.
</PM>
No, thanks. While I did gain some experience while writing C++ syntactic sweets as wrappers for v8's API (see
https://github.com/eddyb/v8-gearbox/blo ... /Gearbox.h -- might hurt your eyes, it lacks of proper comments and cleanup), I do not want to get involved in this.
If you don't have the required knowledge for making a C++ library, even a simple one, chances are you'd get a mess of a language, if you'd even get there.
Try to learn how to use the goodies already there for you benefit and you won't waste (some of) your life.
</rant>
EDIT: "please remove
http://emulang.wikia.com/wiki/Emulang_project_Wiki URL from your message! I do not want to publish it just now". I won't do that... I'm a bad boy
.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 4:36 am
by Chandra
Can anyone even read the contents of
this site? I've been spending several minutes staring at the page and till now, I can't even figure out what's there.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 4:45 am
by Combuster
Works fine for me (firefox), unless you are referring to actual content of which there is... well none really. Just todos and plans.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 4:56 am
by Chandra
Well, I was referring to the text color.Green text on green background - this really sucks on my browser (Internet Explorer). I hardly managed to read and you're right of course, nothing there other than plans.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 5:27 am
by ves
Chandra wrote:Well, I was referring to the text color.Green text on green background - this really sucks on my browser (Internet Explorer). I hardly managed to read and you're right of course, nothing there other than plans.
I use predefined wikia template, which is OK for FF - background is green, only if you block image background.
About content - i already told:
When it is in good for, I will post link here.
As you can see eddyb publish URL, quote private message.
Re: Create programming language to develop emulators
Posted: Fri Mar 18, 2011 5:59 am
by Solar
Can we put this into the Forum Rules somewhere? "Don't advertise your project before you've set it up"?