1. Updates on Eu 4.2 and Libffi?

Hello all,

I'm just wondering how development on Euphoria 4.2 is going? Also, the development of LibFFI. I read that Greg was planning on adding members to it. This would be very helpful with structs that have tons of members in them. Hope all is well.

new topic     » topic index » view message » categorize

2. Re: Updates on Eu 4.2 and Libffi?

Icy_Viking said...

I'm just wondering how development on Euphoria 4.2 is going? Also, the development of LibFFI. I read that Greg was planning on adding members to it. This would be very helpful with structs that have tons of members in them. Hope all is well.

I was just reviewing my progress last night. I'd say I'm about 40-50% done? It's slow going because I have to be more delicate when grafting things onto the C backend to avoid breaking existing features.

  • [x] Replace existing C type IDs (C_INT, etc.)
  • [x] Add more C type IDs like C_UINT32
  • [x] Add C define_c_struct/union/type()
  • [x] Add C type/member name registration (needs some work)
  • [x] New backend for define_c_func/proc() using ffi_prep_cif()
  • [ ] Add peek/poke_struct() and peek/poke_member()
  • [ ] New backend for c_func/proc() using ffi_call() (started but incomplete)
  • [ ] New backend for call_back() using ffi_prep_closure_loc()
  • [ ] Unit tests for proper replacement of std/dll.e
  • [ ] Unit tests for proper operation of C struct/union, etc.
  • [ ] Unit tests for new features like automatic strings, returning structs, etc.

The unit tests are partially completed. I'm adding to them incrementally as I add each feature. Once I have something that is usable I will push it up to the repo.

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: Updates on Eu 4.2 and Libffi?

ghaberek said...
Icy_Viking said...

I'm just wondering how development on Euphoria 4.2 is going? Also, the development of LibFFI. I read that Greg was planning on adding members to it. This would be very helpful with structs that have tons of members in them. Hope all is well.

I was just reviewing my progress last night. I'd say I'm about 40-50% done? It's slow going because I have to be more delicate when grafting things onto the C backend to avoid breaking existing features.

  • [x] Replace existing C type IDs (C_INT, etc.)
  • [x] Add more C type IDs like C_UINT32
  • [x] Add C define_c_struct/union/type()
  • [x] Add C type/member name registration (needs some work)
  • [x] New backend for define_c_func/proc() using ffi_prep_cif()
  • [ ] Add peek/poke_struct() and peek/poke_member()
  • [ ] New backend for c_func/proc() using ffi_call() (started but incomplete)
  • [ ] New backend for call_back() using ffi_prep_closure_loc()
  • [ ] Unit tests for proper replacement of std/dll.e
  • [ ] Unit tests for proper operation of C struct/union, etc.
  • [ ] Unit tests for new features like automatic strings, returning structs, etc.

The unit tests are partially completed. I'm adding to them incrementally as I add each feature. Once I have something that is usable I will push it up to the repo.

-Greg

Sounds good, Greg!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu