Jump to content

Programmer's Lab

- - - - -

  • Please log in to reply
10 replies to this topic

#1
JOSourcing

JOSourcing

    Newbie

  • Members
  • Pip
  • 6 posts
Hello everyone. I developed a tool that might be of help to those who need a little function boost. It's called the Programmer's Lab, which is a compiled collection of over 490 functions that acts like a dynamic link library (DLL). A full description is available at Programmer's Lab.

To incorporate into your IDE, link to plab.exe via the tools menu. And please give me your feedback!

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Moderator note: Sorry it took so long for your post to appear. New members automatically get their posts blocked if they contain a link until a moderator approves it.
sudo rm -rf /

#3
JOSourcing

JOSourcing

    Newbie

  • Members
  • Pip
  • 6 posts
That's perfectly fine, dargueta. I'm really thrilled that the post was approved. Thank you. :)

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
I'm not sure I see the value of it. Most of the functions you mention are already part of most programming languages. The statistical functions are nice, but why the trig functions?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
JOSourcing

JOSourcing

    Newbie

  • Members
  • Pip
  • 6 posts
Hi WingedPanther,

I developed this collection for one simple reason - and that's ease. As you said, a lot of the functions do exist in some languages, but not all of them -- especially limited languages. (Example: DOS batch, windows scripts, advanced ebook makers, etc.)

Couple that with the fact, some existing functions may take anywhere from 3 - 10 or more lines of code to create, my program reduces it to just one line. I'm not really sure which is worse -- racking my brain to organize software containing a bazillion lines of code, or writing software containing single lines of code which shell out to a 570KB exe. All I can guarantee at my age (a nasty dig at my own memory capacity) is that I need things to be as simple as they can get. ;) This program does that for me.

In regards to the trig functions, why not? :) I have a list of even more functions to add. I just have to weigh their importance and frequency of use. The last thing I want is for this tool to become bloated with stuff people rarely use.

Thanks for giving it some attention :)

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
One other concern, though, is execution speed. For batch files, obviously, this isn't a huge concern, but I can see the startup/shutdown time for an executable being a significant performance bottleneck unless you keep it running while the main app runs.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
If you strip out all symbol information from it, it'll be smaller and have less loading overhead, I think.
sudo rm -rf /

#8
JOSourcing

JOSourcing

    Newbie

  • Members
  • Pip
  • 6 posts

WingedPanther said:

One other concern, though, is execution speed. For batch files, obviously, this isn't a huge concern, but I can see the startup/shutdown time for an executable being a significant performance bottleneck unless you keep it running while the main app runs.

So far the exe runs pretty fast. It does run a bit slower when it uses excel and word, however, so I think your idea of keeping it running alongside the main app is a good idea. But I'm not sure how the process should be initiated. I.E. Should the exe load itself or should the main app load it... I think I'd better make that an option.

Thanks again!

---------- Post added at 04:02 AM ---------- Previous post was at 04:01 AM ----------

dargueta said:

If you strip out all symbol information from it, it'll be smaller and have less loading overhead, I think.

Hi dargueta. Can you please tell me what you mean by "symbol" information?

#9
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Function and variable names, macros, anything useful for debugging. If you open up an EXE in a hex editor, you'll see what I mean.
Here's a good explanation.

Symbol table - Wikipedia, the free encyclopedia
sudo rm -rf /

#10
JOSourcing

JOSourcing

    Newbie

  • Members
  • Pip
  • 6 posts

dargueta said:

Function and variable names, macros, anything useful for debugging. If you open up an EXE in a hex editor, you'll see what I mean.
Here's a good explanation.

Symbol table - Wikipedia, the free encyclopedia

Thanks for that, dargueta. I will definitely look at how I can use this!

#11
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Glad I could help.
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users