Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Are you kidding (Score 1) 818

"Republic" and "democracy" clearly mean different things to what you understand. You might want to head on over to a dictionary. A republic simply means a country that is not ruled by a dynastic leader. A democracy simply means a country in which the people choose the leaders. Clearly the two are not mutually exclusive, and the US is both, albeit to various lengths.

Comment Re:Are you kidding (Score 1) 818

Your answer is very illuminating. In most democracies there are a host of parties which people vote for, and which have a good chance of becoming important in the policy-making of the country in question. The fact you think that isn't the case speaks volumes about how you view politics, and if your thinking is in any way common, explains why the current US situation came about. You seem to think the joke of US democracy is somehow normal.

Comment Re:Subtle attack against C/C++ (Score 1, Insightful) 189

C++ (and do a lesser extent C) lose support because of their extremely poor support for utf8. And the absurd part of it is that they could easily do a good job. Utf8 is just a byte array with various routines to interpret the code. Glibc does a reasonable job for a C library...not ideal, but reasonable.

All the array needs is a way to address a chunk by character # rather than by byte #, a way to copy of a character or a slice of chars, and a way to determine the general character classification of any character. Also a few methods: first(), last(), hasnext(), hasprior(), next() and prior(). And these all "sort of" exist, except getting the general character classification. (Do note that these functions need to operate on utf-8 characters rather than on bytes.) But several different ways of doing this are already known. Vala, e.g., handles it without difficulty, and is able to emit C code (using Glibc libraries).

So it's not a programming difficulty that's holding things up. It's the standards bodies...or, perhaps, some members of them.

But I've looked at C++11, and it is not a satisfactory answer. Vala has a good answer. D (Digital Mars D) has a different good answer. Even Python3 has a pretty good answer. (I don't like that in Python you can't determine memory allocation within the string.) Also Racket, etc. But C++ doesn't.

Slashdot Top Deals

"It is hard to overstate the debt that we owe to men and women of genius." -- Robert G. Ingersoll

Working...