Results 1 to 5 of 5

Thread: fpaq0 in ADA

  1. #1
    Member
    Join Date
    May 2008
    Location
    Estonia
    Posts
    510
    Thanks
    208
    Thanked 348 Times in 185 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
    3,977
    Thanks
    296
    Thanked 1,304 Times in 740 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
    103
    Thanks
    96
    Thanked 18 Times in 17 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
    3,977
    Thanks
    296
    Thanked 1,304 Times in 740 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
    94
    Thanks
    102
    Thanked 39 Times in 25 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, 20: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
  •