Post ProjectBuyersProgrammersFAQForumContactRSS
      MEMBER LOGIN
      SERVICES & FEATURES
  • Post a Project
  • Signup
  • Job Listings
  • Featured Projects
  • Certified Members
  • Top Programmers
  • Affiliate Program
  • RSS Feeds
  •    THE 20 LATEST PROJECTS
    Create Product Box
    Convert Landing Page To Site
    Accident/injury Claims Uk
    Edit Sound From Video Clip
    Need Someone To Make Accouts
    Frame Pages
    Joomla Fix 2
    Boonex Programmer Needed
    Convert Wordpress Theme
    New Logo
    Domain Listing Script
    Cup Creator
    Building The Physical Model
    Seo Development
    Page Restore
    Php Lance Website
    Convert Pdf To Mpp Ms Project
    Signup Issue 2
    Minor Site Modification 3
    Vbulletin Google Map Project
     
       POPULAR NEW PROJECTS
    Article Writing
    Content Submission
    Landing Pages
    Conversions
    Twitter
    iPhone Applications
     
    Project: Convert Perl to C
    ID: 1227321367
    Bookmark and Share Post Similar ProjectManage Your Project

    PROJECT DETAILS
    Comments (0)
    Status: Closed (Cancelled)
    Budget: $75
    Created: 11/21/2008 at 21:36 EST
    Cancelled: 12/13/2008 at 0:31 EST
    Project Creator:
    aznkid911
    Rating: 10.00/10 (4 reviews)
    Description: I have about 500 lines of perl code that I would like to convert to C. The main goal behind this is performance optimization, namely with memory. The code makes a lot of use of 2d Perl Arrays and Hashtables. Most of the code is around reading in comma separated files, putting the data into a hashtable, and then running some computations based on what is in the hashtable. Right now the main data structure is a 2d hashtable, where the value of the hash is an array of values. This array of values takes up a lot of memory in Perl, and can likely be compressed to a data structure that is roughly 40x smaller.

    Please only bid on this if you know how to profile code, assess memory leaks, work with pointers, malloc, and know how to compress data into small and efficient data structures.

    Furthermore, in order to qualify to bid on this, you must take this piece of perl code and rewrite it in a different way so that it does the same thing but is written with at least 10 less characters

    "while (<>) { print lc($_);}"
    Additional Info (Added 11/22/2008 at 7:55 EST)...

    Attached file: generator.pl.txt
    File info: An input generator to hash.pl


    Additional Info (Added 11/22/2008 at 7:55 EST)...

    Attached file: hash.pl.txt
    File info: The screening application to write in C


    Additional Info (Added 11/22/2008 at 7:58 EST)...

    The new screening challenge is the rewrite the 13 line hash.pl in C and have it take less than 10 megs in memory. It takes roughly ~100 megs in memory in Perl. You can use generator.pl to generate an input file to hash.pl.

    perl generator.pl > input
    perl hash.pl input

    Check the memory utilization using taskmgr when you run hash.pl and then do it for your C program.

    Tags: C/C++, Perl/CGI


    View Message Board for this Project Messages Posted: 39


    PROJECT BIDS
    Programmers Bid Delivery Time Time of Bid Rating  
    tenebro $30 1 day 12/5/2008 at 15:26 EST
    (No Feedback Yet)
     
    Easy, I can help you (the last challenge 13 lines). Regards, JR
    msrao656 $60 10 days 12/2/2008 at 18:51 EST
    1.00/10
    (2 reviews)
     
    Please see PMB.
    ajithtpillai $75 10 days 11/23/2008 at 8:37 EST
    (No Feedback Yet)
     
    print lc while semicolon shud be placed at end, it says semicolon is an invalid char when i press place bid. not sure if i should solve the screening challenge you mentioned and submit with bid.
    excel002 $80 10 days 11/22/2008 at 11:30 EST
    9.59/10
    (37 reviews)
     
    Please see PMB.
    cnut17 $120 10 days 11/22/2008 at 9:02 EST
    10.00/10
    (1 review)
     
    I don't know perl but I'm very good in making compact C programs. Memory usage and long term stability is a thing I always try optimize when writing programs. You request seems pretty simple. I've already worked with hash functions (SHA-256). will you provide full source code like the "split" details or is it only that small file and all function are buildin from perl ?
    falconsky $150 10 days 11/23/2008 at 2:39 EST
    (No Feedback Yet)
     
    Please check PMB.
    samoutsource $250 8 days 11/22/2008 at 7:10 EST
    (No Feedback Yet)
     
    stellimare $475 3 days 11/29/2008 at 14:26 EST
    (No Feedback Yet)
     
    I'm a California, USA based programmer with over 17 years of experience writing C programs. Most of which deals with processing data, and, in recent years, CGI programs that need speed. I will need to know the exact specs for the file format for best performance. ANSI/ISO C Code will be portable, fully commented, clean, and very easy to read. It'll also be rock-solid secure for use in web applications. (California BEAR Lic# 82064)

    Related Projects:
    Rewrite Perl Script Perl Mods Track Worldpay Order Convert Template To Wordpress convert cgi script to php Convert MySQL App to Postgre
    More...


    Copyright © 2001 - 2010
    ScriptLance is a trade-mark of
    R3N3 International Inc
    Bookmark and Share
    Site MapRSSPrivacy PolicyTermsReport ViolationsAffiliatesFAQForumContact Support
    Graphic Design by: Graphicsguru.com