Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Ethereum: Welcome to the Beginning
by
Ademan
on 25/01/2014, 00:55:37 UTC
just looked at some of the codebase

It looks like assembly....

scriptcode_map = {
    0x00: 'STOP',  
    0x01: 'ADD',
    0x02: 'SUB',
    0x03: 'MUL',
    0x04: 'DIV',
    0x05: 'SDIV',
    0x06: 'MOD',
    0x07: 'SMOD',
    0x08: 'EXP',
    0x09: 'NEG',
    0x0a: 'LT',
    0x0b: 'LE',
    0x0c: 'GT',
    0x0d: 'GE',
    0x0e: 'EQ',
    0x0f: 'NOT',
    0x10: 'MYADDRESS',
    0x11: 'TXSENDER',
    0x12: 'TXVALUE',
    0x13: 'TXFEE',
    0x14: 'TXDATAN',
    0x15: 'TXDATA',
    0x16: 'BLK_PREVHASH',
    0x17: 'BLK_COINBASE',
    0x18: 'BLK_TIMESTAMP',
    0x19: 'BLK_NUMBER',
    0x1a: 'BLK_DIFFICULTY',
    0x20: 'SHA256',
    0x21: 'RIPEMD160',
    0x22: 'ECMUL',
    0x23: 'ECADD',
    0x24: 'ECSIGN',
    0x25: 'ECRECOVER',
    0x26: 'ECVALID',
    0x30: 'PUSH',
    0x31: 'POP',
    0x32: 'DUP',
    0x33: 'DUPN',
    0x34: 'SWAP',
    0x35: 'SWAPN',
    0x36: 'LOAD',
    0x37: 'STORE',
    0x40: 'JMP',
    0x41: 'JMPI',
    0x42: 'IND',
    0x50: 'EXTRO',
    0x51: 'BALANCE',
    0x60: 'MKTX',
    0xff: 'SUICIDE'
}

so some one can come along and make a higher level language on to of this....

and looks like your going to be running a local server ala pywallet in a browser to use all of this?Huh

From what I've read they plan to build a higher level language on top of it, but that for now they're going to implement a C-like language. I'm not satisfied they can implement first class functions in any reasonable capacity with their current bytecodes. It's just a bytecode scripting language, just like Bitcoin has, but with arbitrary jumps to support loops which per my other post, opens the door to a lot of problems, which I'm not satisfied they've solved... (yet?)