annotate java/jdc/README.txt @ 46:c21d1c2c84e1

- removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways) * implies renaming pydcext.* to pydc.* * while at it, iterate directly over args that are passed in (before we did extract fptr, sig and a tuple for the args and iterated over latter afterwards); we might have a tiny perf improvement now - added type stub as package_data
author Tassilo Philipp
date Fri, 13 Nov 2020 14:10:31 +0100
parents 40a2c4198016
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
1 BUILD
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
2 =====
3bfef07b0cd9 - cleanup of non-working java binding, restart work, somewhat different interface
cslag
parents:
diff changeset
3
20
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
4 1) make sure dyncall is built and libraries/headers are in include paths or
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
5 CFLAGS points to them, etc.
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
6
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
7 2) Build with:
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
8
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
9 make
77ca609422f1 - first working build of new java binding
cslag
parents: 18
diff changeset
10
21
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
11
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
12 RUNNING EXAMPLES
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
13 ================
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
14
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
15 For example, having build jdc, build and run UnixMathExample from this folder:
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
16
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
17 javac -d . examples/UnixMathExample.java
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
18 java -Djava.library.path=. UnixMathExample
40a2c4198016 - working jdc (but with memleaks, currently)
cslag
parents: 20
diff changeset
19