World: r4wp
[#Red] Red language group
older newer | first last |
Kaj 23-Sep-2012 [2083x7] | The 0MQ binding also has some documentation there |
Actually, the 0MQ docs there include a guide for Red/System, but the cURL docs include programming documentation | |
There are also the materials from the DevCon: | |
http://devcon.esperconsultancy.nl | |
Including videos about Red installation and the bindings: | |
http://www.youtube.com/playlist?list=PL3926D5E4DBD8B360 | |
More than I thought, really :-) | |
DocKimbel 24-Sep-2012 [2090x2] | Guys, we will really, really, need something like: http://tour.golang.org or http://tryruby.orgfor Red. If someone is willing to start working on such tool, that would for sure greatly contribute to the success of Red. I have already bought the following domains for such kind of use: - tryred.net - redtutor.net - red4.us - red2.me |
We could even already use Topaz for building it (maybe just adding a thin Red dialect on top of it?). | |
GrahamC 24-Sep-2012 [2092] | Agree something is needed ... there is no easy guide to get started |
DocKimbel 24-Sep-2012 [2093x2] | Graham: I was thinking it could be ready for end of year of beginning of next year. Currently Red is not for end users, and won't be for a while. Red/System could be used in production though, but I don't have time to write users docs or tutorials for it. |
of beginning => "or beginning" | |
GrahamC 24-Sep-2012 [2095] | Don't we need to wait a bit for more functionality from red before writing user docs? |
DocKimbel 24-Sep-2012 [2096x2] | No, you can take REBOL as a model, all basic features will be identical. |
We could then upgrade such docs later with Red's specific additions. | |
Pekr 24-Sep-2012 [2098x3] | Who implemented Try REBOL? Was it Kaj? |
http://tryrebol.esperconsultancy.nl/ | |
So - we have something to start with, no? | |
Kaj 24-Sep-2012 [2101] | I'll most probably add Red to TryREBOL. I need to integrate it in my CMS, anyway |
Arnold 24-Sep-2012 [2102x3] | The next step would than be to get the REPL for Red. |
This is to try more Red beyond the things that are save to allow on a webserver/browser. | |
Is it necessary for a tryred to have Red be able to process cgi on the webserver. | |
DocKimbel 24-Sep-2012 [2105] | The easiest way would be to use Topaz and "just" add a Red-to-Topaz converter. |
Kaj 24-Sep-2012 [2106] | That sounds like a lot of work. On TryREBOL, Red and Red/System will be used directly |
Arnold 24-Sep-2012 [2107x2] | Agreed. Also a great introduction like http://learnyousomeerlang.com/ would help using the REPL and compiling Red. |
Kaj btw length-of is scaring me ;) | |
Kaj 24-Sep-2012 [2109x2] | Is English scaring you? |
There are OS- prefixes left in all platform files except Windows | |
Arnold 24-Sep-2012 [2111] | I meant the discussion about the -of postfixes. :-) |
DocKimbel 24-Sep-2012 [2112] | Kaj: fixed. |
BrianH 24-Sep-2012 [2113] | More scary discussion of -of: http://issue.cc/r3/1818:) |
DocKimbel 24-Sep-2012 [2114] | Red is now Unicode from end to end: http://t.co/FR8vNV65 |
BrianH 24-Sep-2012 [2115] | Cool! |
DocKimbel 24-Sep-2012 [2116x3] | And with string auto-scaling from 1 to 4 bytes per codepoints. ;-) |
*codepoint | |
I will publish the new code tomorrow. | |
BrianH 24-Sep-2012 [2119] | UCS1 to UCS4 scaling? Fixed-length internally? |
DocKimbel 24-Sep-2012 [2120x3] | Yes, Latin-1 / UCS-2 / UCS-4 |
Conversion for printing in UTF-16 done on-the-fly (no additional buffer needed) | |
Brian: you don't read Red's blog? :-) See http://www.red-lang.org/2012/09/plan-for-unicode-support.html | |
BrianH 24-Sep-2012 [2123x3] | Been busy :( |
Will you eventually be doing the same trick R3 does of keeping its symbols in UTF-8 format internally, for binary hashing? Of course you might be handling symbols completely differently... | |
The symbol being the string part of a word. | |
DocKimbel 24-Sep-2012 [2126x2] | Yes, I currently keep an UTF-8 version in cache for each small string, but I'm not sure I will keep it. |
I'm not using currently hashing for words, but indexing as lookups are done mostly during compilation. | |
BrianH 24-Sep-2012 [2128] | I'm talking about eventually, when/if you get real runtime word types :) |
DocKimbel 24-Sep-2012 [2129x2] | Words dynamically created might need hashing though. |
Right, it could be a good option. | |
BrianH 24-Sep-2012 [2131] | I think that R3 stores symbols in something like a BTree. |
DocKimbel 24-Sep-2012 [2132] | Red stores them in a block! value currently, so probably the less efficient way...we'll see in the future how to optimize it the best way. |
older newer | first last |