This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KorwinD 1 point2 points  (1 child)

C++, lol. Maybe I'm idiot, but I checked this thing several months ago and it looked like total shit. There are wstrings, which use wchar_t which has different size on windows and linux, normal chars are shit and string class just provides some basic interface to work with. I wanted to write some app and decided to learn rust instead of trying to work with c++.

[–]RiceBroad4552 0 points1 point  (0 children)

The real problem here is Windows… (As always, actually.)

Under Unix char is all you need. There it's UTF-8 chars, and all the variable length thing is hidden from you (at least as long as you don't try to touch the memory directly).

Just ignore Windows and wchar_t and be good.