jdk7u-jdk
open62541
jdk7u-jdk | open62541 | |
---|---|---|
15 | 5 | |
519 | 2,425 | |
0.6% | 0.9% | |
0.0 | 9.8 | |
4 months ago | 5 days ago | |
Java | C | |
GNU General Public License v3.0 only | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jdk7u-jdk
-
What Cannot Be Skipped About the Skiplist: A Survey of Skiplists and Their Appl
Skip lists are relatively simple to make lock-free, while lock-free (even unbalanced) binary search trees are an absolute nightmare.
https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
-
Requiem for a Stringref
Here is the JDK 7 String#hashCode(), which operates on characters: https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89....
That's changed in the newer versions, because String has a `byte[]` not a `char[]`, but it was just fine. A hash algorithm can take in bytes, characters, ints, it doesn't matter.
In Java, you don't get access to the bytes that make up a string, to preserve the string's immutability. So for many operations where you might operate on bytes in a lower level language, you end up using characters (unless you're the standard library, and you can finagle access to the bytes), or alternately doing a byte copy of the entire string.
I admit, checksums using characters are a bit weird sounding, but they should also be perfectly well-defined.
-
Don't Share Java FileChannels
"AbstractInterruptibleChannel" seems to be doing this, and the comments/javadocs offer some hint. As to why they're designed this way, that's a good question.
https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
-
Computer sucks at math
In Java, you could use BigDecimal. I linked to the source code, because it highlights the amount of complexity you get.
- In Defense of Linked Lists
- System.in and System.out
-
Default editor launched from AWT toolkit?
The windows implementation of AWT Desktop just calls the Win32 API ShellExcute function. This then quickly descends into questions such as "what version of windows do you have"; "does it correctly understand the difference between open vs. edit"; what does your registry currently contain"; etc.
- Why do we need Scanner class in order to input something?
-
Help with StringArray-changing function
ArrayList is a class, it is not an array. It stores two values. An array and its size. You can see this if you read the source code for ArrayList.
-
How does StringBuilder build the string?
The source code for the Java SDK is available on github.
open62541
-
What Cannot Be Skipped About the Skiplist: A Survey of Skiplists and Their Appl
Zip trees are great!
For a project I made a version that uses the memory location of the entries to construct the (random) rank on the fly.
So it’s a binary tree structure that requires the same memory as a linked list (two pointers) only!
https://github.com/open62541/open62541/blob/master/deps/zipt...
-
How to be good at C++
Here is a bug report I submitted to open62541, over a year ago. Figuring out how that library works... I don't even understand the terminology; it's all very generic (everything is called 'nodes', 'objects', etc.), there are loads of ways to do anything, type safety is not a concept the library approves of so that doesn't help either, and most functions you cannot even find in the source as they are generated by macros. It doesn't help that OPC UA is a big standard (thousands of pages) either. It boggles the mind that the reference implementation for something used in so many critical places is so badly documented, and at the same time allows so many ways to get things subtly wrong.
-
Apache PLC4X announcing end of community support due to missing funding
There's quite a bit of OPC UA bashing across this project. So let me chime in to keep the "balance in the universe".
OPC UA is a protocol to interact with an object-oriented information model. Basically CORBA done right to use object-oriented principles and reuse software components in industrial automation.
Since OPC UA is a protocol, its performance depends mostly on the implementation. Some PLCs may be crappy. But that doesn't translate into bad performance overall. My experience goes to the exact contrary.
Full disclosure, I lead-develop and maintain an open source OPC UA implementation that sees quite a bit of use by the big guys in the automation domain. We use C for performance. And we do have funding from the industry.
https://github.com/open62541/open62541
But yes, it is hard to break into this world. Especially since solutions have to be maintained for 20+ years. A solo developer usually cannot ensure that this will still be usable some years down the line.
-
How do you go about understanding and using new libraries?
Earlier this year I was trying to use open62541, and ended up writing this bugreport. The developers are, so far, ignoring it, and it's a crying shame because it makes the library so much less useful than it could otherwise be.
-
How to check reliability of Ethernet connection between an Intel NUC and ARM cortex-M micro controller ?
Why don't you use a standardized industrial protocol, that support these requirements? Would perhaps OPC UA meet your needs? There are a number of open source implementations and the standard itself is open, too.
What are some alternatives?
jmh - https://openjdk.org/projects/code-tools/jmh
plc4x - PLC4X The Industrial IoT adapter
re2j - linear time regular expression matching in Java
SGDK - SGDK - A free and open development kit for the Sega Mega Drive
libcxx - Project moved to: https://github.com/llvm/llvm-project
node-opcua - Unlocking the Full Potential of OPC UA with Typescript and NodeJS - http://node-opcua.github.io/
multichase
pymgclient - Python Memgraph Client
rust - Empowering everyone to build reliable and efficient software.
psxsdk - Homebrew Sony PlayStation 1 SDK
Taren - Useful C++ templates
c-open - CANopen stack for embedded devices