Codename One VS referencesource

Compare Codename One vs referencesource and see what are their differences.

Codename One

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web. (by codenameone)

referencesource

Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework (by microsoft)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Codename One referencesource
88 88
1,646 3,103
1.4% 0.7%
8.5 0.0
6 days ago 22 days ago
Java C#
GNU General Public License v3.0 or later 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.

Codename One

Posts with mentions or reviews of Codename One. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-05.
  • A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev
    47 projects | dev.to | 5 Feb 2024
    codenameone.com — Open source, cross-platform, mobile app development toolchain for Java/Kotlin developers. Free for commercial use with an unlimited number of projects
  • Android Play Billing Needs updating
    2 projects | /r/cn1 | 29 Aug 2023
    This was resolved in this issue: https://github.com/codenameone/CodenameOne/issues/3706
  • Backward Compatibility, Go 1.21, and Go 2
    6 projects | news.ycombinator.com | 14 Aug 2023
    Naturally depends on the use case, yet they work good enough to be in business for 20 years.

    https://www.ptc.com/en/products/developer-tools/perc

    https://www.aicas.com/wp/products-services/jamaicavm-tools/

    https://www.codenameone.com/

    Android 5 & 6 (only changed back into JIT/AOT due to long compile times), https://www.infoq.com/news/2014/07/art-runtime/

    Unfortunely the best well known, Excelsior JET, is no longer in business, most likely due to GraalVM and OpenJ9 being available as free beer, while PTC, Aicas Codename One are safe in their domains.

    There is also RoboVM (https://github.com/MobiVM/robovm) as free beer, however it actually started as a commercial product, and the acquisition from Xamarin kind of stagnated it (naturally).

  • Can't Reproduce a Bug?
    1 project | dev.to | 1 Aug 2023
    At Codename One, we were using App Engine when our daily billing suddenly skyrocketed from a few dollars to hundreds. The potential cost was so high it threatened to bankrupt us within a month. Despite our best efforts, including educated guesses and fixing everything we could, we were never able to pinpoint the specific bug. Instead, we had to solve the problem through brute force.
  • Mobile Apps with Java
    1 project | /r/java | 10 Jul 2023
    We don't use GraalVM since our project was developed prior to its existence and we aimed for deeper native integration than it can offer: https://github.com/codenameone/CodenameOne
  • Developing cross platform mobile application [closed]
    2 projects | /r/codehunter | 10 Jun 2023
    XMLVM, Codename One and iSpectrum (cross compile Java code from an Android app or creating one from scratch
  • Apple Offer Codes
    1 project | /r/cn1 | 6 Jun 2023
    I suggest filing an RFE in the issue tracker.
  • Play Billing Library Version Deprecation
    1 project | /r/cn1 | 5 Jun 2023
    Thanks. It's always good to get another reminder. Yes, it was reported. u/shannah78 is working on this but we have time until November.
  • Problems compilint to android side
    1 project | /r/cn1 | 10 Mar 2023
    please check this issue https://github.com/codenameone/CodenameOne/issues/3686
  • The Holy Grail of Java Performance
    1 project | /r/java | 2 Mar 2023
    We use ParparVM which we wrote. It compiles a subset of Java 8 (sort of) to native by translating the bytecode to C and passing that through XCode. The reason we took this path and not the path of "direct to native", is that it allows for future compatibility.

referencesource

Posts with mentions or reviews of referencesource. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-30.
  • Got my first c# software engineering job, any advice?
    1 project | /r/dotnet | 14 Jun 2023
    But to go deeper to .NET/CLR architecture is important too. Try to understand how it works inside. Use the source, Luke! https://source.dot.net/ https://referencesource.microsoft.com/ This source code vaults is not completed then try JetBrains dotPeek tool to look at any assembly source code.
  • The most obscure type in the System namespace
    1 project | /r/dotnet | 11 Jun 2023
    (https://github.com/Microsoft/referencesource/blob/master/System.ServiceModel/System/ServiceModel/MessageSecurityVersion.cs; scroll down to inner classes)
  • Why your F# evangelism isn't working
    5 projects | news.ycombinator.com | 30 May 2023
    List is an IList/IReadOnlyList; these interfaces do nothing that couldn't be done right inside the file itself.

    https://referencesource.microsoft.com/#mscorlib/system/colle...

    https://referencesource.microsoft.com/#mscorlib/system/colle...

    Instead we have to go diving through the IList, which implements ICollection, which implements IEnumerable, which implements IEnumerable (again). Just because each interface is composed of another interface, doesn't mean you aren't using inheritance. You are effectively creating a custom inheritance tree through willy-nilly composition.

    It is gratuitous to make this chain so deep, when the underlying code is just a handful of lines.

    https://referencesource.microsoft.com/#mscorlib/system/colle...

    https://referencesource.microsoft.com/#mscorlib/system/colle...

    https://referencesource.microsoft.com/#mscorlib/system/colle...

    ----------------------------------------------------------------------------------------------------------------

    The doc-strings are unnecessary. It's self-evident what most of the code does if you read it.

            // Returns an enumerator for this list with the given
  • How do I counter "Open source is less secure due to vulnerabilities being open too."?
    1 project | /r/opensource | 25 May 2023
    The whole .net framework source code is online.
  • Difference between String and StringBuilder in C#.
    1 project | /r/csharp | 7 May 2023
  • Best way to create two operators that differ only by one argument type and have the same numbers of arguments?
    1 project | /r/csharp | 13 Mar 2023
    https://github.com/microsoft/referencesource/blob/master/System.Numerics/System/Numerics/Vector2.cs https://github.com/microsoft/referencesource/blob/master/System.Numerics/System/Numerics/Vector2_Intrinsics.cs
  • Multi-Key Dictionary in C#
    2 projects | /r/dotnet | 31 Jan 2023
    .net itself has arbitrary interfaces, ex https://github.com/microsoft/referencesource/blob/master/mscorlib/system/action.cs
  • Ask HN: What book you recommend for advanced programming in C#?
    1 project | news.ycombinator.com | 30 Jan 2023
    Assuming if you are new to C# - start coding! And start reading https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csha...

    If you are not new to C#, start building an application end-to-end/a classic n-tier application, right from using a database, Entity Framework, WebAPI, DTO, AutoMapper, and a front-end (your choice - Angular/React/Vue with TypeScript or better yet - Blazor).

    You will not only understand & use dependency injection, reflection, LINQ, multi-threaded programming, generic programming, source-code generation, unit-testing - and much much more in a practical/real-world usage.

    Peruse https://referencesource.microsoft.com/ once in a while.

    Follow various team members of .NET Framework, C# team and the like on various social-media. https://mobile.twitter.com/i/lists/120961876

    I am sure there will be who agree / disagree with the above approach and will provide more viewpoints for you to consider.

    Enjoy - and strap yourself for an amazing journey or roller-coaster ride, however you want to call it!

  • FTP Web Request Question
    1 project | /r/csharp | 23 Jan 2023
    Maybe from the source of FtpWebRequest it is possible to track what the default behaviour is.
  • Get MimeType for .NET 6.0 Windows Forms program
    1 project | /r/csharp | 19 Nov 2022
    The class is just a very limited dictionary, a library will be the same or better.

What are some alternatives?

When comparing Codename One and referencesource you can also consider the following projects:

Multi-OS Engine - Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)

.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

Design Patterns - Design patterns implemented in Java

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

J2ObjC - A Java to iOS Objective-C translation tool and runtime.

github1s - One second to read GitHub code with VS Code.

sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.

CoreCLR - CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes.

Maven Wrapper - The easiest way to integrate Maven into your project!

CoreWCF - Main repository for the Core WCF project

Modern Java - A Guide to Java 8 - Modern Java - A Guide to Java 8

ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!