home mail me! RSS (2.0) feed

Archive for C++

Scripting in Python, Ruby, Perl? No, in C++!

NOTE: there are a few posts about this tool in this blog already, but the cryptic name, cpsh, seems to have scared away some of you. Welcome back!
I have built something that is cool and useful, objectively speaking. That something is a shell - interactive or not - using C++. It does have a name, […]

Brief intro to Boost and TR1

Boost is a library of helping constructs for modern C++ development. What sets Boost apart from most other libraries is that it is infrastructural and horizontal in that it extends the vocabulary of the developer in any kind of problem solving, no matter what the domain.
This quite unique feature - along with the fact that […]

cpsh 1.0

Ok, I finally finalized a first official version of cpsh, 1.0.
The project is found at Google Code, where there is a download area with precompiled binaries.
This version works on Mac OS X 10.4 (and probably older), with either G or Intel processor, and on Windows XP/2000.
Building
To build it on OS X, you need XCode 2.x […]

cpsh - a Windows executable

First of all, sorry for not being active on the blog for quite some time, but here I am again. And this time with a binary of my cpsh tool.
While I am rewriting the tool to better support various C++ compilers, you here have a Windows executable that requires gcc to be installed and available. […]

cpsh - scripting in C++

I woke up last night with a conviction that C++ is not a worse “scripting” language than Perl or Ruby. After a few minutes awake, I had to turn on the computer and prove this nightly conjecture. I created a draft scripting environment for C++ in a few hours.
I call my nocturnal embryo cpsh for […]

Is your language hot or not?

If one would measure popularity by number of hits on Google, these are the five most popular computer languages:

PHP
Java
C
Flash
Perl

A graph of Google hits, using the query +lang +programming, for some of the most common languages follows. NOTE 1: please inform me if your favorite language is omitted. NOTE 2: I did not include the language […]

Books for the aspiring C++ expert

I have gathered a list of books that should get you started on the road to expertise in the language of the gods, C++.
I decided to do this via a new Amazon facility called aStore. So you can go to my aStore to get access to those books. The most crucial ones are found under […]

embed_type - wrapping types in C++

This is a C++ library I created to be able to wrap types while specifying - in compile-time - what operations, if any, are to be preserved, i.e., what homomophisms should be injected into the wrapping type. One can view it as a very flexible type alias system.
I issued this library as an informal proposal [...]

RCF: C++ apps speaking their mother tongue

You need a cross-language interprocess framework that is hard to setup, learn and deploy, just for the thrill of being able to use Java and/or PHP on the server side while using native code on the client side?
Then this is not for you. Please skip this post.
For developers using the most powerful language - in [...]

gen_hierarchy - injecting base classes in C++

Would you like to generate a hierarchy of types on the fly using C++? Well, at least on-the-compilation-fly…
You could always use Andrei’s magnificent Loki library, or you could use my proposal, gen_hierarchy.
In short, I allow for two distinct types of hierarchies:

Spine-like, with the given types protruding as maximal elements on that spine.
A “simple” chain.

Let us [...]

· Next entries »