in reply to Late night revelation of PERL

A long time ago, in a galaxy far, far, away, I used to code in C. It's been over a decade, so I don't remember much of it, but I do remember how incredibly astounded I was that a simple routine that took me a week to code in 8088 assembler (am I dating myself, or what?), would only take a couple of hours in C, yet have almost the same speed.

Fast forward 14 years: I program in Perl and I have started dabbling in C++. I know that I need more on my resumé than just Perl, mainframe experience and VBA, but I am having trouble getting excited about C++. I look at the hoops I have to jump through for even the simplest of string manipulations and I writhe in agony (anyone know of a C++ regex library?).

Perl is wonderful because I can get stuff done fast. Sure, we all love the language, but if we couldn't do anything with it, we wouldn't care.

Cheers,
Ovid

Update: My view of a potential job interview.

Me:Well, I once created a mainframe test region using VBA.

Potential employer: And this is relevant how?

Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
  • Comment on (Ovid) RE: Late night revelation of PERL

Replies are listed 'Best First'.
RE: (Ovid) RE: Late night revelation of PERL
by Rudif (Hermit) on Nov 07, 2000 at 04:27 UTC
    > (anyone know of a C++ regex library?).

    Yes.

    1. Look up the source code by Rosimildo Da Silva, 1998, "based on the implementation of a regular expression engine written by the legendary Henry Spencer originally in "C" around 10 years ago." - at www.connecttel.com.
    I tried it on WinNT about a year ago - it worked. I did not use it much.

    2. If you are into COM on Win32, you can instantiate and call from C++ (or from VB* if you prefer ;-) the RegExEngine that comes with VBScript. Look up the article by Dino Esposito, at www.comdeveloper.com. It works as advertized. I can send you the source code of my console app demo, including a more complete RegExp.h. For the regex doc, look up the VBScript material - at clinic/scripting.

    HTH
    Rudi
RE: (Ovid) RE: Late night revelation of PERL
by Rudif (Hermit) on Nov 07, 2000 at 13:00 UTC
    > (anyone know of a C++ regex library?)

    3. There is also PCRE - "a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language" by Philip Hazel.

    Rudif