List Info

Thread: Character length in neko




Character length in neko
country flaguser name
Russian Federation
2008-03-24 11:18:08
Hello list,

  Looks like I am still not that good in understanding
strings in
  Neko.. A question came to my mind and I could not find a
good reply
  myself: what is the character string in Neko? I know that
strings
  are binary buffers, but what can I put as a single
element? A byte?
  16-bit word? 31-bit integer? I was thinking that 16-bit
word is a
  best candidate as we can keep 'raw Unicode' strings in
Neko (not
  UTF8-encoded). So - Nicolas, please clarify, I'm lost
again 

  I'm porting some HMAC-SHA1 code to haxe/neko now, will
probably make
  it open source, that's why asking.

-- 
Best regards,
 Michael                          mailto:mikecomapping.com


-- 
Neko : One VM to run them all
(http://nekovm.org)

Re: Character length in neko
country flaguser name
France
2008-03-24 12:09:07
Michael Pliskin a écrit :
> Hello list,
> 
>   Looks like I am still not that good in understanding
strings in
>   Neko.. A question came to my mind and I could not
find a good reply
>   myself: what is the character string in Neko? I know
that strings
>   are binary buffers, but what can I put as a single
element? A byte?
>   16-bit word? 31-bit integer? I was thinking that
16-bit word is a
>   best candidate as we can keep 'raw Unicode' strings
in Neko (not
>   UTF8-encoded). So - Nicolas, please clarify, I'm lost
again 
> 
>   I'm porting some HMAC-SHA1 code to haxe/neko now,
will probably make
>   it open source, that's why asking.

Strings are byte buffers in Neko, so yes a neko string
"char" is a byte.

Best,
Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )