Colin Summers
Colin Summers
Hey sorry all! I was pretty swamped these last two days. Catching up with your comments now.
@tkf I'll test that out later today! Thanks for taking the time to put that together. If it works then all my needs are satisfied for now. I'll keep an...
Thanks for all the hard work! With #95 I think my use-case is satisfied.
@tkf @jw3126 in reference to https://github.com/JuliaLang/julia/pull/21912, Setfield.jl implements the `@setfield` macro described in that PR which creates a copy of an immutable with the respective field changed. My concern is...
@tkf If I have a struct with a `StaticArray` field (which has to be immutable to get the C equivalent inline memory layout) and want threads to be operating on...
With ROS1 development currently frozen, I would consider ROS2. ROS2 addresses many of the shortcomings of ROS1, and is coming up on its third stable release. I have no personal...
That's what I was afraid of. Would some dirty, evil hack like this trigger precompilation? ```julia macro foo(module_path) needs_precompile(module_path) && return esc(:(const TRIGGER = $(randstring(10)))) end ``` Or does Julia...
Another +1 here. I'm finding I have to write a lot of boilerplate code for get/set methods.
Here's a solution for the Julia half: ```julia macro wrapaccessors(T, fields) @assert fields.head === :tuple gen_case(i) = :(name === $(QuoteNode(fields.args[i]))) gen_get(i) = quote $(__module__).$(Symbol(T, :_get_, fields.args[i]))(x) end gen_set(i) = quote...
Sorry for the long overdue reply @maxbrunsfeld ! Life got in the way as it sometimes does. I still hope to contribute in my spare time, but perhaps it would...