proguard-core VS klox

Compare proguard-core vs klox and see what are their differences.

proguard-core

Library to read, write, analyze, and process java bytecode (by Guardsquare)

klox

A Kotlin implementation of lox with a JVM backend built using ProGuardCORE (by mrjameshamilton)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
proguard-core klox
9 7
269 17
1.9% -
9.1 2.6
4 days ago about 2 years ago
Java Kotlin
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

proguard-core

Posts with mentions or reviews of proguard-core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-23.
  • Any news on the Classfile API?
    5 projects | /r/java | 23 Dec 2022
    Anyways, have you looked at Proguard core?
  • Resources for generating and execution JVM bytecode
    2 projects | /r/ProgrammingLanguages | 20 Aug 2022
    For generating Java bytecode/class files you could take a look at ProGuardCORE . It's a bytecode manipulation and analysis library that grew out of ProGuard.
  • JEP draft: Classfile API
    5 projects | /r/java | 17 Jun 2022
    The MethodBuilder "low-level" example looks like the ProGuardCORE API for building classes & code sequences, which can be written as:
  • Show HN: I spent my vacation writing a modern JVM assembler
    12 projects | news.ycombinator.com | 2 Jun 2022
    Something else that could make your code generation for your JVM language easier: ProGuardCORE (https://github.com/Guardsquare/proguard-core). It can be used to read, generate and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • Looking for resources on building a compiler
    3 projects | /r/Compilers | 22 Feb 2022
    I implemented Lox in Kotlin based on the book's Java interpreter then added a JVM backend using ProGuardCORE: https://github.com/mrjameshamilton/klox
  • Building a simple Log4Shell detector with ProGuardCORE
    1 project | /r/Compilers | 3 Feb 2022
    You can find out more about ProGuardCORE on GitHub and the manual contains some further examples.
  • Is there any books or guides on how to target JVM bytecode?
    2 projects | /r/Compilers | 30 Jan 2022
    Not a book or guide but a useful library for working with/generating JVM class files is ProGuardCORE. It's the underlying library used by ProGuard and I also recently used it to add a JVM backend to my implementation of Lox from the Crafting Interpreters book.
  • Concise language to write an interpreter for?
    3 projects | /r/ProgrammingLanguages | 28 Jan 2022
    After completing the first part of the book (using Kotlin instead of Java), I added a JVM backend using ProGuardCORE (https://github.com/Guardsquare/proguard-core).
  • AppSweep, mobile application scanning for developers
    3 projects | /r/androiddev | 3 Aug 2021
    The biggest difference is our initial goal of creating a tool for application developers rather than a security team. This means we aim to exclude information that the application developer definitely knows and doesn't want to see again, e.g. the list of permissions an application is requesting. Furthermore we try to focus on nice and intuitive UX that is familiar to this audience, enabling an application developer to be very efficient in reading & interpreting the results (e.g. easy comparison of two builds). Also note that this is built on the same core technology as ProGuard. This foundation of compiler components (e.g. our partial evaluator) and the knowledge and experience at Guardsquare that comes with it will unlock many more in-depth code checks.

klox

Posts with mentions or reviews of klox. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-12.
  • Using Advent of Code to test C3
    2 projects | /r/ProgrammingLanguages | 12 Dec 2022
    Last year I did the same: using my extended implementation of Lox. I didn't get so far in Advent of Code itself (only 4 days) since I spent much more time adding features to the language / standard library! Standard Lox as implemented in the Crafting Interpreters book is lacking many useful things including input reading, arrays, collections like sets & hash maps. Example: https://github.com/mrjameshamilton/klox/blob/master/examples/aoc-2021/advent-day01.lox
  • JEP draft: Classfile API
    5 projects | /r/java | 17 Jun 2022
    I was also experimenting in Kotlin with some higher-level helper functions for the ProGuardCORE code builder, like using code blocks for try-catch, switches etc
  • Show HN: I spent my vacation writing a modern JVM assembler
    12 projects | news.ycombinator.com | 2 Jun 2022
    Something else that could make your code generation for your JVM language easier: ProGuardCORE (https://github.com/Guardsquare/proguard-core). It can be used to read, generate and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • Looking for resources on building a compiler
    3 projects | /r/Compilers | 22 Feb 2022
    I implemented Lox in Kotlin based on the book's Java interpreter then added a JVM backend using ProGuardCORE: https://github.com/mrjameshamilton/klox
  • Crafting Interpreters – Web Version
    2 projects | news.ycombinator.com | 14 Feb 2022
    It's a great book! I really liked how it guides step-by-step, always having something working building up to the full interpreter for Lox. I haven't yet gotten around to the 2nd part of the book (the C based interpreter/vm) because I got carried away with adding extra features to my Kotlin Lox implementation (including a JVM backend)! https://github.com/mrjameshamilton/klox
  • Is there any books or guides on how to target JVM bytecode?
    2 projects | /r/Compilers | 30 Jan 2022
    Not a book or guide but a useful library for working with/generating JVM class files is ProGuardCORE. It's the underlying library used by ProGuard and I also recently used it to add a JVM backend to my implementation of Lox from the Crafting Interpreters book.
  • Concise language to write an interpreter for?
    3 projects | /r/ProgrammingLanguages | 28 Jan 2022
    My implementation can be found here: https://github.com/mrjameshamilton/klox

What are some alternatives?

When comparing proguard-core and klox you can also consider the following projects:

proguard - ProGuard, Java optimizer and obfuscator

Grasmin - Groovy AST Transformation to allow writing Jasmin code (JVM bytecode) directly on groovy files

JaCoCo - :microscope: Java Code Coverage Library

kotlin-native - Kotlin/Native infrastructure

emv-qrcode - Java Based EMV QR Code Generator and Parser (MPM, CPM)

YAIL - Programming language where you can code using emojis 😌

appsweep-gradle - This Gradle plugin can be used to continuously integrate app scanning using AppSweep into your Android app build process

jlox-plus - Jlox+ is a superset of the Lox programming language!

bytecode-viewer - A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)

jasm - A JVM assembler for the modern age

Maker - Lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.

jssembly - Jssembly is a library that allows you to execute native assembly from Java.