Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GPVM

Name: Anonymous 2012-01-29 2:40

/proggles/, would you agree if I were to say that high level languages based on MREs are both fragmentated in their implementation of MRE and pityfully unstandardized, in terms of VM?
What if someone were to write a ``General Purpose Virtual Machine'' that both standardized, and provided facilities to execute code generated by compilers for said high-level languages? The benifits would be great, no? If something like this were to catch on to the point of a community, with growing support for languages in the form of compilers, it would be easy for, say, browsers, to support something like this; for it could run perl, dart, python, PHP, javascript or any other language's code if there were compilers for those languages, and it would be good.

What does /plague/ think? I personally think this should have been done a long time ago, for a few reasons; MREs take a long time and a lot of testing to implement, and their adoption rate is massive. With the same adoption rate, and a single VM in use, language developers could focus on the quality of their languages, so we don't have more shitty language like Python.

Name: Anonymous 2012-01-29 2:48

http://parrot.org/
Check out Parrot.

Name: Anonymous 2012-01-29 3:19

>>1
There are already Python clones. See Falcon. Pig disgusting.

Name: Anonymous 2012-01-29 3:28

``Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages.''

>dynamic languages
>implying VMS should care about typing

The only reason a VM would need to know the type of an object is type specific operations, such as dividing a float as opposed to a long. Even that can be approximated by a compiler for a typeless language. I don't see why these dynamicfags see themselves as a paradigm.

A VM should be able to allocate any amount of bytes for any variable; types should be completely irrelevant to the VM, only addressing modes and how the memory is used in operations.

Name: Anonymous 2012-01-29 3:51

>>4

uh, you are judging based on the introduction sentence. Parrot is "designed for dynamic languages" in the sense that ... fuck just read the wikipedia article you lazy twit

I'm not sure what you are even complaining about.

Name: Anonymous 2012-01-29 5:21

>>2
That looks really nice. Too bad I haven't seen anyone seriously adopting it.

Name: Anonymous 2012-01-29 10:25

>>6
Perl6 is using it now. (it is called Rakudo)

Also, this: http://pl.parrot.org/ (Parrot embedded in PostgreSQL)

Name: Anonymous 2012-01-29 10:27

(Mental note)
TODO:

* LISP implemented on ParrotVM

Name: Anonymous 2012-01-29 13:12

>>8
It won't be too long before someone implements use Lisp; in Perl 6. Actually it will probably be a new setting. Hacking the Perl 6 grammar is too easy.

Name: Anonymous 2012-01-29 17:12

>>1
There are already Python clones. See Falcon. Pig disgusting.

Name: Anonymous 2012-01-29 19:25

DubsVM

Name: Anonymous 2012-01-29 20:53

>>10
No, PIG DISGUSTING!

Name: Anonymous 2012-01-30 10:10

Name: Anonymous 2012-01-30 10:14

>>13
Thanks.

Name: Anonymous 2012-01-31 9:59

>>14
Your'e welcom'e

Name: Anonymous 2012-01-31 13:07

The only reason a VM would need to know the type of an object is type specific operations, such as dividing a float as opposed to a long.

Unrelated. Does anyone knows why LLVM has separate instructions for ints and float as add and fadd?

Name: Anonymous 2012-01-31 14:01

because llvm is a fadd!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List