Alsuren

August 29, 2007

late nights

Filed under: Uncategorized — alsuren @ 1:14 am

Oh god: It would appear that I have stayed up until 2:00 reading

http://en.wikipedia.org/wiki/C++0x
as far as

http://en.wikipedia.org/wiki/C++0x#C.2B.2B_standard_library_extension
(std::tr1, which I already know about)

While I know this is quite tragic, a few things have come from it:

function add = <>(x,y) -> int {x+y}

It seems that C++09 is getting pretty much *all* of the cool/useful features
of python (with the possible exceptions of list comprehensions and nested
scopes, which might be possible to implement with some hackery). It remains
statically typed, but you no longer have to be explicit, and you can do duck
typing using 'concept's.

Maybe I will take the time to write a few things using tr1, to get back in
practice. *slightly tempted to try writing a boo/python/rpython compiler that
will output to C++09*

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: