Daco Harkes

Results 409 comments of Daco Harkes
trafficstars

Thanks a ton @blaugold! ❤️ > * Add a way to to build two dylibs with `CBuilder` where one depends on the dynamic linker to load the other as dependency....

Oh, I lost track of this PR. I suppose it's ready to merge? 😄

@Levi-Lesches The code apparently isn't formatted.

I believe we did this due to troubles translating the encoding from Java Strings to Dart Strings: * https://github.com/dart-lang/native/issues/792 @HosseinYousefi @mahesh-hegde I don't believe we considered the use of switch...

> ```dart > final class B extends ffi.Struct { > @ffi.UnsignedInt() > external int _a; > > A get a => A.fromValue(_a); > } > ``` That would be my...

And on another machine: ``` Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: Unsupported class file major version 66 at com.github.dart_lang.jnigen.apisummarizer.util.ExceptionUtil.wrapCheckedException(ExceptionUtil.java:22) at com.github.dart_lang.jnigen.apisummarizer.disasm.AsmSummarizer.run(AsmSummarizer.java:21) at com.github.dart_lang.jnigen.apisummarizer.Main.main(Main.java:129) Caused by: java.lang.IllegalArgumentException:...

* https://github.com/dart-lang/native/issues/627 This is closed, but users have to find this issue.

The summarizer itself is already compiled to the right version pkgs/jnigen/java/pom.xml ``` 11 11 ``` But our `javac` invocations in the tests do not specify a target. https://stackoverflow.com/questions/11364761/how-do-i-compile-a-java-with-support-for-older-versions-of-java#comment84680930_11364761

Feel free to contribute some. 😄 I'm not sure if benchmarks targeting C should be considered FFIgen related, rather they would be `dart:ffi` related. FFIgen does not make any architectural...