Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Denilson das Mercês Amorim
    @thelink2012
    hell sometimes I feel a bit bad for forming the basic direction of the library code instead of you
    David Campbell
    @dcampbell24
    well I don't mind, you should probably be listed as an author
    I just created it for a simple app I was writing and didn't have any lofty goals
    I like the direction it is going
    If you are making smallish changes I would feel free to just do it or make a pull request I am not likely to object
    regarding 19 I am not sure it is really safe to have multiple objects sharing a pointer
    Denilson das Mercês Amorim
    @thelink2012
    it seems to be I asked a question on reddit on my first days of Rust
    and for handle likes objects it seems to be
    let me find it
    TL;DR: it's fine :P
    David Campbell
    @dcampbell24
    but I made something copy when I was prototyping I thought and it led to a crash
    Denilson das Mercês Amorim
    @thelink2012
    hm weird
    David Campbell
    @dcampbell24
    so I would just say test it out
    Denilson das Mercês Amorim
    @thelink2012
    (Y)
    no such emoticon, goddam
    David Campbell
    @dcampbell24
    I will respond on the tickets actually
    Denilson das Mercês Amorim
    @thelink2012
    and give the doubt if the contained handle is really part of that trait.
    i.e. a Handle can wrap any element and such element may or mayn't allow hierarchy operations, and the user would be able to call hierarchy operations from a Handle.
    aw
    anyway it'd not be a huge issue as IUP is pretty defensive internally
    David Campbell
    @dcampbell24
    So maybe handle would not implement both but would have to be converted into something that does if it in fact can be.
    Denilson das Mercês Amorim
    @thelink2012

    What do you see as the pros and cons?

    I'll leave that question open as I'm not sure either, typeclasses are a pretty new programming concept for me, not entirely sure about it's cons :P

    David Campbell
    @dcampbell24
    They become additional arguments needed when writing generic functions and if there are a lot that can start to be a burden
    Denilson das Mercês Amorim
    @thelink2012
    No news in #23 ?
    shinchiro
    @shinchiro
    nice work
    For the API inspiration you can look here: https://github.com/nomad-software/tkd
    I really like how easy is to use the 'tkd' toolkit. If this iup-rust can be use easily like that..its really good :smile:
    Denilson das Mercês Amorim
    @thelink2012
    oh thanks. From what I've seen in the example.d we seem to be taking the same direction as it when it comes to the GUI construction part.