Create programming language to develop emulators

Programming, for all ages and all languages.
User avatar
blobmiester
Member
Member
Posts: 45
Joined: Fri Jul 16, 2010 9:49 am

Re: Create programming language to develop emulators

Post 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.
Tosi
Member
Member
Posts: 255
Joined: Tue Jun 15, 2010 9:27 am
Location: Flyover State, United States
Contact:

Re: Create programming language to develop emulators

Post 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.
User avatar
blobmiester
Member
Member
Posts: 45
Joined: Fri Jul 16, 2010 9:49 am

Re: Create programming language to develop emulators

Post 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.
ves
Posts: 9
Joined: Wed Mar 16, 2011 4:19 am

Re: Create programming language to develop emulators

Post 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.
eddyb
Member
Member
Posts: 248
Joined: Fri Aug 01, 2008 7:52 am

Re: Create programming language to develop emulators

Post 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 :P.
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: Create programming language to develop emulators

Post 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.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Create programming language to develop emulators

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: Create programming language to develop emulators

Post 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.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
ves
Posts: 9
Joined: Wed Mar 16, 2011 4:19 am

Re: Create programming language to develop emulators

Post 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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Create programming language to develop emulators

Post by Solar »

Can we put this into the Forum Rules somewhere? "Don't advertise your project before you've set it up"?
Every good solution is obvious once you've found it.
Post Reply