r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Red] Red language group

Dockimbel
14-Mar-2011
[346x4]
Here's the direct download link: ttp://software.intel.com/file/7242 
(~27MB)
sorry: http://software.intel.com/file/7242
It's 3 clauses BSD.
The library seems to be built upon IEEE 754 standard, so should be 
able to be accelerated by an FPU. Btw, here's the  download page: 
http://software.intel.com/en-us/articles/intel-decimal-floating-point-math-library/
Kaj
14-Mar-2011
[350x3]
Thanks. Sounds good, except for the size
This IEEE 754R spec is a revision based on IEEE 754, but it seems 
to me that the decimal implementation in this library is in software, 
awaiting new FPUs (IBM already has a few (although already is not 
really a good term for 2011))
Intel means it for compliance ahead of time. I wouldn't expect them 
to compete with the performance of the future FPUs they want to sell 
us
Dockimbel
14-Mar-2011
[353]
I agree that the library size is too big anyway for a direct inclusion 
in Red's core.
Kaj
14-Mar-2011
[354]
An optimising static linker could make it acceptable :-)
Ladislav
14-Mar-2011
[355]
Hi, I added a Red to the Alternatives section in REBOL Wikipedia 
page.
Dockimbel
14-Mar-2011
[356]
Thanks Ladislav. Btw, could you add links for the alternative projects?
Ladislav
14-Mar-2011
[357]
Sure I could, but they were removed by some "purists" telling, that 
the Wikipedia was not a link repository, so I am afraid it might 
be contraproductive.
BrianH
14-Mar-2011
[358]
So, that Intel library is for implementing Red's equivalent of the 
money! type?
Ladislav
14-Mar-2011
[359]
I would prefer to say "Red's analogy to the money! type", I do not 
think it is exactly equivalent.
BrianH
14-Mar-2011
[360]
I mean that it uses floating point hardware, but implements decimal 
math, not floating point math.
Ladislav
14-Mar-2011
[361]
Yes, that is the "analogy" I mean.
Dockimbel
14-Mar-2011
[362]
Brian: yes, for financial usage, so might differ a bit from REBOL's 
money! type.
BrianH
14-Mar-2011
[363]
Cool either way, for those of us not running on IBM mainframes (which 
have this standard in hardware) :)
PeterWood
14-Mar-2011
[364x2]
Doesn't the Intel Library implement the three IEE 754 types - decimal32, 
decimal64, decimal128
Aren't these also supported in recent GCC releases?
Kaj
14-Mar-2011
[366x9]
Yes
I've ported my 0MQ binding to Red
I've got the Hello World client/server example working:
http://rebol.esperconsultancy.nl/extensions/0MQ/ZeroMQ-binding.reds
There's some stuff left to straighten out, but it's painful to develop 
on WINE, so I'll continue when we can bind libc on Linux
Here are the test executables:
http://rebol.esperconsultancy.nl/extensions/0MQ/server.exe
http://rebol.esperconsultancy.nl/extensions/0MQ/client.exe
Once Red is a bit more mature, it will be quite a bit easier to write 
bindings for Red than for R3
GrahamC
14-Mar-2011
[375]
That's pretty quick ..
Kaj
14-Mar-2011
[376]
Yes, I just read that running on Linux will be possible in the morning 
:-)
GrahamC
14-Mar-2011
[377]
This has got to be the shortest time for a working rebol clone !
Kaj
14-Mar-2011
[378]
Doc claims to have been secretly working on it for a decade ;-)
GrahamC
14-Mar-2011
[379]
LOL
Gregg
15-Mar-2011
[380x2]
Crashes for me here Kaj. Looking for zmq_err0 in the dll (using 2.0.10).
Very cool though, assuming it works for you.
GrahamC
15-Mar-2011
[382]
Gregg you have to run it under wine!
Dockimbel
15-Mar-2011
[383x3]
Wow Kaj, I'm impressed!! Didn't think that someone could push Red/System 
so far already! Great work!
while [yes = yes] 

 => this cries for a better logic values support ;-) I was working 
 on a TRUE/FALSE support in the train when coming to ReBorCon 2011, 
 but never finished it. I need to get back on it.
I can compile it with the last Red/System version (adding calling 
converbut I get a "zmq_err0 entry point not found". I guess, there's 
a regression in the compiler or an incompatible change. I'll check 
that after publising the new revision with extended Linux support.
Kaj
15-Mar-2011
[386x3]
Interesting that it works under WINE but not Windows. :-) I did have 
to install some Visual C++ runtime from 2008, but the lack of that 
produced a fairly clear error pointing in that direction
Did you install libzmq.dll? It's a binding with a dynamic library
I suppose Gregg did, mentioning 2.0.10
Ladislav
15-Mar-2011
[389]
regarding the: "... but implements decimal math, not floating point 
math." - sorry, that is false. Actually, I think, that it implements 
decimal floating point math. What it does not implement is binary 
floating point math.
Dockimbel
15-Mar-2011
[390]
Kaj: I've installed the Windows binary from this archive: http://mark.ossdl.de/2011/01/zmq-and-pyzmq-for-windows/
Kaj
15-Mar-2011
[391]
That 0MQ version works for me on WINE
Dockimbel
15-Mar-2011
[392x2]
Ok, got the Linux support working (except the DLL support part).
Simple hello word executable: 162 bytes
Hello.reds executable: 884 bytes
:-)
Pushing the new revision in a couple of minutes...
Kaj
15-Mar-2011
[394x2]
Very cool
So the 512 bytes binary pages (with seemingly 2048 bytes minimum) 
are a Windows thing?