Archive for July, 2006
July 31, 2006 at 5:07 pm · Filed under Functional Programming, Computer Science
Bookmark on del.icio.us
An algebraic data type is a type defined via constructors that can subsequently – often in a functional language setting – be used in pattern matching. The typical example is (using Haskell syntax):
PLAIN TEXT
HASKELL:
data IntStack = Empty | Cons Int IntStack
One can view the type constructors (Cons and Empty above) as regular functions acting on [...]
July 26, 2006 at 1:45 pm · Filed under IT Industry
Bookmark on del.icio.us
A friend of mine – Yariv Sadan (whose blog is at http://yarivsblog.com) – suggested today that a lot of what is considered web development is essentially nothing else than an early stage of real estate development.
That interesting thought led me to coin a term – at least relative the IT industry: Soft Estate. So, are [...]
July 24, 2006 at 1:30 am · Filed under C++
Bookmark on del.icio.us
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 [...]
July 18, 2006 at 10:50 pm · Filed under IT Industry
Bookmark on del.icio.us
It seems like all RPC frameworks have an intrinsic halftime of seven years. Why do they decay so rapidly?
Whatever the general case might be, it is quite clear that SOAP is dying the infamous Death by Over-Standardization, which is luring around the C++ corner as well – unfortunately.
Who is the new emperor? Hardly DCO, ONC [...]
July 11, 2006 at 6:31 pm · Filed under Java, Functional Programming
Bookmark on del.icio.us
Are you not tired of writing those boring for loops, repeating virtually the same boiler plate “finder” or “accumulator” code over and over again? Are you also too afraid of those academic languages or simply enjoy actually getting paid for what you do, i.e., you are confined to Java?
Well, I assume there are tons of [...]
July 10, 2006 at 10:12 am · Filed under C++, Tools Reviews
Bookmark on del.icio.us
Have you ever been frustrated with not being able to use full C++ while adhering to the MFC model?
MFC is based on C with a “little bit of inheritance,” which is quite far from the expressivity in modern C++ use. A C++ expert expects RAII (resource acquisition is resource initialization) and to be able to [...]
July 9, 2006 at 5:28 pm · Filed under C++, Books
Bookmark on del.icio.us
Finding good books about C++ is hard; they often belong to one of four categories:
Learn to program – too basic for people actually making money on this trade. However strange this might sound, there is a quite subtle difference between the DIY hobby programmer and the professional one. Ok, I know that most in the [...]
July 6, 2006 at 11:00 pm · Filed under C++, Tools Reviews
Bookmark on del.icio.us
When diving down among the various parser generators and compiler tools around, there is another one – beside BNFC – that sticks out: Spirit. A template-oriented library that is part of the terrific Boost libraries (http://www.boost.org.)
Whereas most tools rely on code generation, and even code generation generation (BNFC…), Spirit is a metaprogramming library that describes [...]
July 6, 2006 at 5:34 pm · Filed under Functional Programming, Tools Reviews, Language Reviews
Bookmark on del.icio.us
Parsing code is hard, and strictly limited to The Chosen Few. Right? No, wrong!
I know you are aware of some compiler compilers or parser generators out there – i.e., frameworks that let you specify annotated grammar descriptions, often using a BNF (Backus Naur Form) kind of syntax. The most famous parser generator is Yacc, which [...]
July 4, 2006 at 11:29 pm · Filed under Java, Tools Reviews
Bookmark on del.icio.us
First I was afraid, I was petrified. Kept thinking I could never live without a proper JNI reference manual by my side. But I spent so many nights thinking how to implement those native methods right. I grew strong, I learned how to carry on without a proper wrapper generator.
But now Swig is back, from [...]
·
Next entries »