Skip to content

Support for Big-endian platforms: how to test? #396

Description

@barracuda156

fst currently is broken for Big-endian platforms. Is it possible to forego it, or is it essential to the core functionality?

Activity

  1. xiaodaigh commented on Apr 9, 2023

    @xiaodaigh
    Collaborator

    Yes it is essential for now and foreseeable future. It's well documented that fst doesn't work on big-endian though.

    What do you hope to use disk.frame for? Would {arrow} suffice for your needs?

    I don't feel the need to invest in disk.frame if {arrpw} with parquet support is good enough

  2. barracuda156 commented on Apr 9, 2023

    @barracuda156
    Author

    @xiaodaigh

    It's well documented that fst doesn't work on big-endian though

    In fact I tried to build fst today and run tests, and everything works fine on Big-endian. No idea how that claim on CRAN originated, but it is misleading.

    However turned out arrow wants a prebuilt lib, which does not exist for PPC, obviously. So now stuck with another dependency.

    P. S. I am adding R packages into Macports, and for that I need all archs to be working.

    UPD. arrow fixed, R-arrow has a minor issue, but soon I can build disk.frame on PPC :)

  3. changed the title [-]Is fst an essential dependency?[/-] [+]Is fst an essential dependency? (UPD. Turned out, fst actually works on Big-endian)[/+] on Apr 9, 2023
  4. barracuda156 commented on Apr 12, 2023

    @barracuda156
    Author

    @xiaodaigh Ok, I have built everything, including data.frame. However since there are no tests, I have no idea if it works correctly. (My concern is primarily endianness.) How may I check it?

  5. changed the title [-]Is fst an essential dependency? (UPD. Turned out, fst actually works on Big-endian)[/-] [+]Support for Big-endian platforms: how to test?[/+] on Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions