Results 1 to 5 of 5

Thread: fpaq0 in ADA

  1. #1
    Member
    Join Date
    May 2008
    Location
    Estonia
    Posts
    530
    Thanks
    220
    Thanked 386 Times in 200 Posts

    fpaq0 in ADA

    This is fpaq0 ported to ADA language.
    source: http://mattmahoney.net/dc/fpaq0.cpp

    Used GPS 19.1 dev enviroment for that. Executable is static.
    Compression/decompression is identical to cpp source.

    This is first time to write something in ADA so probably not the best example writing correct code.

    Attached Files Attached Files
    KZo


  2. Thanks (3):

    Bulat Ziganshin (7th December 2019),JamesWasil (7th December 2019),Mike (7th December 2019)

  3. #2
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    4,073
    Thanks
    311
    Thanked 1,366 Times in 780 Posts
    So can you explain what you see in Ada that makes it useful for compression algorithms?
    This source looks pretty similar to pascal/delphi to me.

  4. #3
    Member JamesWasil's Avatar
    Join Date
    Dec 2017
    Location
    Arizona
    Posts
    109
    Thanks
    96
    Thanked 19 Times in 18 Posts
    Lol I haven't used Ada for ages. That is cool though, kaitz. Thanks! Next someone should port it to Fortran, Basic, and APL lol (Has anyone here used APL for anything in the last 30 years?)

  5. #4
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    4,073
    Thanks
    311
    Thanked 1,366 Times in 780 Posts
    @JamesWasil: I think its not just a random choice of language - https://encode.su/threads/3064-paq8p...ll=1#post62339

  6. Thanks:

    JamesWasil (7th December 2019)

  7. #5
    Member
    Join Date
    Sep 2014
    Location
    Italy
    Posts
    108
    Thanks
    131
    Thanked 50 Times in 30 Posts
    Kaitz you are my hero
    Should you be able to write it in delphi?
    Have a good sunday!

Similar Threads

  1. Question about fpaq0 I/O
    By ggf31416 in forum Data Compression
    Replies: 15
    Last Post: 16th March 2014, 21:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •