C, headers

The concept of headers in C was necessary at its time, but these days it just makes compilation of complex program in complex environment several times more complex. Whenever you have several package-roots (I have /usr, /usr/local, /sw, /opt/local, /opt/some_pkg1, /opt/some_pkg2 at the same time), which have different versions of the same libraries, you need to . . . → Read More: C, headers

Spread constants

Playing with Spread Toolkit. Absolutely love their constant-names

UNRELIABLE_MESS
RELIABLE_MESS
FIFO_MESS
CAUSAL_MESS
AGREED_MESS
SAFE_MESS
REGULAR_MESS

p.s. freshly released php binding . . . → Read More: Spread constants

@ ohloh.net

By the way, I registered an account at ohloh.net project. You can see all opensource-projects I was involved . . . → Read More: @ ohloh.net

Unicode vs. Programming Languages

I really-really want to see a programming language, which allows using proper unicode symbols for operators.

I mean:

× instead of *
→ instead of ->
← instead if <-
≠ instrad of !=
≤ and ≥ instead of <= and >=

This list can be continued more and more…

I perfectly understand the roots of current situation and I don’t ask to use . . . → Read More: Unicode vs. Programming Languages

OSNews: Apple Developing a New LLVM C Front-End

Somehow, I missed this news earlier, but, I guess, it is very important. Because it means, that:

MacOS would be able to use non-gcc by default (there are some comments, here, describing why it is a good thing)
MacOS would become . . . → Read More: OSNews: Apple Developing a New LLVM C Front-End

BeOS + SmallTalk

Some internal feeling makes me believe, that Smalltalk would be an ideal language for Haiku-OS/OpenBeOS (which looks more and more alive, again).

BeOS was always about C++, opposing UNIX’es, MacOS’es and Windows’es choice of C (well, formally, windows had C++ api, but, still, it was very C-ish in it’s essence). Years passed, MacOS switched to Objective-C, Windows . . . → Read More: BeOS + SmallTalk

fink: BOOST_FOREACH

One more addition to Fink from me: BOOST_FOREACH. This is one of my favorite extensions of C++. It lets one to iterate over virtually anything that can be iterated, while still being extremely effecient.

Here is a very nice introduction to Boost.Foreach.

(If you don’t know…) Fink is a project that brings the full world of Unix Open . . . → Read More: fink: BOOST_FOREACH