Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Osiris-Team
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
Osiris-Team
2y ago
This is my idea of a perfect programming language, it's high level and compiles to C. Meaning it tries to give you high level constructs without sacrificing performance. Let me know what you think! There is a pretty basic compiler avai
2.
▲
by
Osiris-Team
2y ago
Yeah I proved myself wrong after adding more compiler optimizations.
3.
▲
by
Osiris-Team
2y ago
I added some further optimizations and guess I was wrong!
4.
▲
by
Osiris-Team
2y ago
Yeah, feel free to contribute / create a PR with a more C/C++ suited algorithm.
5.
▲
by
Osiris-Team
2y ago
True but let's also not forget the unpredictability of stupidity in human developers which probably cause the majority of performance loss in any language.
6.
▲
by
Osiris-Team
2y ago
Do they compare the second run of Java? Because using GraalVM native image does not really benefit from runtime info and optimization.
7.
▲
by
Osiris-Team
2y ago
I just now created the repo for this purpose, hoped to reach some more experience C developers with it and prove me wrong.
8.
▲
Java is faster than C in its second run, prove me wrong
(github.com)
3 points
by
Osiris-Team
2y ago
|
17 comments
9.
▲
by
Osiris-Team
2y ago
Feel free to create a PR on the linked repo and prove me wrong. To add some detail: I think that 99% of algorithms are faster in Java in their second run than in any other Language due to the better JIT compiler and optimizations that are p
10.
▲
by
Osiris-Team
2y ago
1JPM automatically resolves parent and child projects See project.isAutoParentsAndChildren. If true updates current pom, all parent and all child pom.xml files with the respective parent details, adding seamless multi-module/project su
11.
▲
1JPM now automatically resolves parent and child projects
(github.com)
1 points
by
Osiris-Team
2y ago
|
1 comments
12.
▲
Desku: Desktop/Mobile/Web Apps in One Codebase
(github.com)
2 points
by
Osiris-Team
2y ago
|
0 comments
13.
▲
by
Osiris-Team
2y ago
Yeah I wish I could say build tools are simple. 1JPM was until I had to deal with transitive dependencies. The recursion going on there broke my mind quite a bit.
14.
▲
by
Osiris-Team
2y ago
Running "clean build" should do the trick though, it will delete the ./build directory. Or do you mean the local maven repo?
15.
▲
by
Osiris-Team
2y ago
I'm the original developer, decided to repost since there was some nice discussion I missed.
16.
▲
1JPM: A Maven/Gradle alternative in a single Java file - Original Dev
(github.com)
2 points
by
Osiris-Team
2y ago
|
2 comments
17.
▲
by
Osiris-Team
2y ago
I think 1JPM is a wild idea and could be better in the future, but it's hard to compete with 20 years of development at release.
18.
▲
by
Osiris-Team
2y ago
Ah a fellow tab-autocomplete power user.
19.
▲
by
Osiris-Team
2y ago
Yeah, however once there are IntelliJ IDEA and VSCode plugins for 1JPM and I actually add some test cases, it should be usable.
20.
▲
by
Osiris-Team
2y ago
Haha yes, if the IDE isn't happy, I'm not happy. But checkout the releases under github, there you can find the magical single JPM.java file you are looking for ;)
21.
▲
by
Osiris-Team
2y ago
Its not really different. Except that bld seems to only support Java 17+, whereass 1JPM support Java 8+ and there is still a lot of Java 8 projects out there I guess. Another difference is also that 1JPM is a single file, which has its adva
22.
▲
by
Osiris-Team
2y ago
Wow 14 years ago! Thats great! Those variable names are madness though haha. Or a single letter class is also pretty wild.
23.
▲
by
Osiris-Team
2y ago
Happy to hear that! 1JPM is still pretty new and I expect there to be bugs, so if you have some free time and are interested in making this something usable feel free to contribute some day :)
24.
▲
by
Osiris-Team
2y ago
Thats what 1JPM is also trying to prevent a bit, by leveraging the rigid structure of Java, or more accurately by proving an API that tries to satisfy noobs and power users.
25.
▲
by
Osiris-Team
2y ago
Interesting, I guess the focus there is more on scripting. For 1JPM the focus is more Maven/Gradle similarity with Java build file.
26.
▲
by
Osiris-Team
2y ago
Yeah I don't think there is much that can be done against this. Its a complex topic and simple solutions are basically just a dream. Worked on transitive dependencies, and let me tell you, the version of such a dependency can be litera
27.
▲
by
Osiris-Team
2y ago
Haha glad to hear that! But really don't at the moment, the project is really fresh and I published a early access release to see if there was even demand, and I guess there is! Contributions are welcome and I am happy to work on this
28.
▲
by
Osiris-Team
2y ago
Right now I am using Maven to build 1JPM, or more accurately be able to do things in my IDE. You won't need that pom.xml though since 1JPM is only dependent on Java 8.
29.
▲
by
Osiris-Team
2y ago
Yeah, some kind people over Reddit also shared some nice repositiories like this one: https://github.com/takari/polyglot-maven Which would have been great if I found it earlier, since it allows you to use maven but wri
30.
▲
by
Osiris-Team
2y ago
Forgot to mention, its the "resolveDependencies" task.
More ›