Oberon VS aws-lambda-rust-runtime

Compare Oberon vs aws-lambda-rust-runtime and see what are their differences.

Oberon

Oberon parser, code model & browser, compiler and IDE with debugger (by rochus-keller)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Oberon aws-lambda-rust-runtime
76 30
423 3,157
- 1.6%
7.4 8.9
about 1 month ago 7 days ago
C++ Rust
GNU General Public License v3.0 only Apache License 2.0
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.

Oberon

Posts with mentions or reviews of Oberon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-21.
  • Boehm Garbage Collector
    9 projects | news.ycombinator.com | 21 Jan 2024
    > Sure there's a small overhead to smart pointers

    Not so small, and it has the potential to significantly speed down an application when not used wisely. Here are e.g. some measurements where the programmer used C++11 and did everything with smart pointers: https://github.com/smarr/are-we-fast-yet/issues/80#issuecomm.... There was a speed down between factor 2 and 10 compared with the C++98 implementation. Also remember that smart pointers create memory leaks when used with circular references, and there is an additional memory allocation involved with each smart pointer.

    > Garbage collection has an overhead too of course

    The Boehm GC is surprisingly efficient. See e.g. these measurements: https://github.com/rochus-keller/Oberon/blob/master/testcase.... The same benchmark suite as above is compared with different versions of Mono (using the generational GC) and the C code (using Boehm GC) generated with my Oberon compiler. The latter only is 20% slower than the native C++98 version, and still twice as fast as Mono 5.

  • Niklaus Wirth, or the Importance of Being Simple
    3 projects | news.ycombinator.com | 18 Jan 2024
    Great, thanks!

    There are books online for free, e.g.

    https://people.inf.ethz.ch/wirth/ProgInOberonWR.pdf

    and https://ssw.jku.at/Research/Books/Oberon2.pdf

    Oberon+ is a superset of Oberon 90 and Oberon-2. Here is more information: https://oberon-lang.github.io/, and here is the current language specification: https://github.com/oberon-lang/specification/blob/master/The.... I already had valuable feedback here on HN concerning the channel extensions. Further research brought me to the conclusion, that Oberon+ should support both, channels and also monitors, because even in Go, the sync package primitives are used twice as much as channels. Mutexes and condition variables can be emulated with channels (I tried my luck here: https://www.quora.com/How-can-we-emulate-mutexes-and-conditi...), but for efficiency reasons I think monitors should be directly supported in the language as well, even if it might collide with the goal of simplicity.

    Feel free to comment here or e.g. in https://github.com/rochus-keller/Oberon/discussions/45.

  • Tex-Oberon: Make Project Oberon Pretty Again
    3 projects | news.ycombinator.com | 6 Jan 2024
    > Does anyone know why Wirth never modernized his style?

    Readability. It's easier to read the source code with uppercase keywords. (I think Wirth once said that code is written once but read many times). See this source code - https://raw.githubusercontent.com/rochus-keller/OberonSystem... - to get an idea of this (the uppercase keywords allow you to easily scan the blocks of code). Ofcourse, one can claim that the same can be achieved better today with colour-coded keywords.

    If I remember right, the Oberon+ IDE - https://github.com/rochus-keller/Oberon - gives you an option to disable this and use lowercase keywords.

  • FreeOberon cross-platform Oberon language IDD
    3 projects | news.ycombinator.com | 12 Nov 2023
  • Project Oberon (New Edition 2013)
    2 projects | news.ycombinator.com | 14 Sep 2023
    > gain a deep understanding of it .. generate smaller subsets of the system

    You can use the OberonViewer for this purpose with the original source code, or the Oberon IDE with a version of the Project Oberon System which runs with SDL on all platforms, see https://github.com/rochus-keller/oberon/#binary-versions and https://github.com/rochus-keller/OberonSystem/tree/FFI

  • KolibriOS on Single Floppy Disk
    2 projects | news.ycombinator.com | 4 Sep 2023
    > Regardless, which one is more likely to be ported to a different architecture in the future?

    Not sure I understand the question. I'm talking about CPU architectures. The current implementation is in x86 assembler. So if you want to run it on AMD64 or ARM, then you have to replace all assembler files, in the present case probable the full source code.

    > what are the comparative performance benchmarks of the low-level language versus the high-level language?

    I don't have any measurements. But consider that many operating systems are implemented in C (e.g. Linux) with only isolated parts in assembler, so it is easier to port to other architectures. Linux apparently is fast enough and available for nearly every CPU. Oberon in contrast to C is garbage collected, which also affects performance. I have measurements comparing the same benchmark suite implemented in C++ and in Oberon, where the former is about 22% faster (see https://github.com/rochus-keller/Oberon/blob/master/testcase...).

  • Why Use Pascal?
    5 projects | news.ycombinator.com | 8 Jul 2023
  • C or LLVM for a fast backend?
    3 projects | /r/ProgrammingLanguages | 2 Jun 2023
    I actually had a similar problem some years ago and finally moved away from LLVM because of complexity, continuous research effort and performance. My current Oberon+ implementation works like this: the CIL code generator together with Mono is used during development, integrated with the IDE, using the debugging features integrated in Mono; to deploy the application and to gain another factor 2 of performance C99 instead of CIL can be generated and compiled with any compatible toolchain. Here are some performance measurements: https://github.com/rochus-keller/Oberon/blob/master/testcases/Are-we-fast-yet/Are-we-fast-yet_results_linux.pdf. Compiling to CIL is very fast and the time Mono needs to compile and run is barely noticable.
  • Do transpilers just use a lot of string manipulation and concatenation to output the target language?
    4 projects | /r/ProgrammingLanguages | 27 May 2023
  • Native AOT Overview
    8 projects | news.ycombinator.com | 26 May 2023
    > annoying aspects was requiring the .NET runtime ... OpenJDK is a blessed implementation in a way that Mono never was

    Which is unjustified, because Mono CLR is just a single executable less than 5 MB which you can download and run without a complicated installation process (see e.g. https://github.com/rochus-keller/Oberon/#binary-versions ). AOT compilation on the other hand is a huge and complex installation depending on a lot of stuff including LLVM, and the resulting executables are not really smaller than the CLR + mscorlib + app.

aws-lambda-rust-runtime

Posts with mentions or reviews of aws-lambda-rust-runtime. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-27.
  • Cognito Starter Kit with Rust and Lambda
    2 projects | dev.to | 27 Jan 2024
    I've been writing more and more about the benefits of Rust and Lambda quite a bit lately and I plan to take advantage of them in this customizer. Additionally, I've leveraged the Lambda Runtime project that includes data structures for the Lambda Events that I'll encounter while working with these payloads.
  • Rust and Lambda
    2 projects | dev.to | 14 Jan 2024
    The Lambda Rust Runtime project bridges that gap between SDK support and enhanced developer experience. Now this code IS flagged as experimental as it is subject to change. Didn't I just say above that I don't like experimental software in production? For something like a critical SDK into AWS, yes. But for something that is mostly data structures and working with different Lambda events, I don't have an issue. I'm comfortable with recommending builders look into this repository. I've also been fortunate to contribute to it and believe that the libraries included will make builder's lives easier. End of the day, if the experimental piece is a hold-up, a Lambda with Rust will be fine without it.
  • Customize Cognito Access Token with Rust
    1 project | dev.to | 29 Dec 2023
    If you are building Rust applications that are deployed in Lambdas, it's well worth your time to check out this AWS project. And nestled inside that repository is a Lambda Events crate that helps with the serde/deserde of different payloads to be encountered when running Lambdas.
  • AWS Support for Rust on Lambda - Concerns?
    2 projects | /r/rust | 3 May 2023
    Feel free to take look at the GitHub repo and ask any questions you have there, we're always happy to help in what we can: https://github.com/awslabs/aws-lambda-rust-runtime
  • Learn Rust 101 – A guide to aid you in your journey of becoming a Rustacean
    2 projects | news.ycombinator.com | 7 Apr 2023
    Rust on Lambda's using containers as the deployment artifact are also very good, i'd say a perfect match. Low artifact size, low cpu+memory usage, fast execution. I think AWS must be using increasingly using Rust on Lambda internally from the talks I've seen them publish and the work gone in to https://github.com/awslabs/aws-lambda-rust-runtime.

    For simple REST API's there's not much extra effort in using Rust once you are familiar.

  • Rust on AWS Lambda?
    2 projects | /r/rust | 8 Feb 2023
    Check out the official AWS Lambda Rust project https://github.com/awslabs/aws-lambda-rust-runtime. It has a bunch of examples and we’ll designed. I got up and running knowing minimal Rust very quickly.
  • Rust on Lambda Interest?
    3 projects | /r/rust | 18 Jan 2023
    The official https://github.com/awslabs/aws-lambda-rust-runtime seems well architected.
  • State of Rust for web backends
    11 projects | /r/rust | 20 Dec 2022
    Hi, maybe check out https://github.com/awslabs/aws-lambda-rust-runtime there's some examples in there.. But essentially you can build a Lambda function and deploy to your AWS account with this toolset.
  • API Gateway to a Lambda function using Lambda proxy and non-proxy)integration, with OpenAPI specs
    2 projects | dev.to | 2 Nov 2022
    use aws_lambda_events::apigw::{ ApiGatewayCustomAuthorizerRequestTypeRequest, ApiGatewayCustomAuthorizerResponse, ApiGatewayCustomAuthorizerPolicy, IamPolicyStatement, }; use lambda_runtime::{run, service_fn, Error, LambdaEvent}; use serde_json::json; #[tokio::main] async fn main() -> Result<(), Error> { tracing_subscriber::fmt() .with_ansi(false) .without_time() .with_max_level(tracing_subscriber::filter::LevelFilter::INFO) .init(); run(service_fn(function_handler)).await } pub async fn function_handler(event: LambdaEvent) -> Result { // do something with the event payload let method_arn = event.payload.method_arn.unwrap(); // for example we could use the authorization header if let Some(token) = event.payload.headers.get("authorization") { // do something with the token // my custom logic return Ok(custom_authorizer_response( "ALLOW", "some_principal", &method_arn, )); } Ok(custom_authorizer_response( &"DENY".to_string(), "", &method_arn)) } pub fn custom_authorizer_response(effect: &str, principal: &str, method_arn: &str) -> ApiGatewayCustomAuthorizerResponse { let stmt = IamPolicyStatement { action: vec!["execute-api:Invoke".to_string()], resource: vec![method_arn.to_owned()], effect: Some(effect.to_owned()), }; let policy = ApiGatewayCustomAuthorizerPolicy { version: Some("2012-10-17".to_string()), statement: vec![stmt], }; ApiGatewayCustomAuthorizerResponse { principal_id: Some(principal.to_owned()), policy_document: policy, context: json!({ "email": principal }), // https://github.com/awslabs/aws-lambda-rust-runtime/discussions/548 usage_identifier_key: None, } }
  • Rust for microservices, AWS lambda functions, etc?
    2 projects | /r/rust | 15 Oct 2022
    FYI, there’s an offical rust “runtime” in the works: https://github.com/awslabs/aws-lambda-rust-runtime

What are some alternatives?

When comparing Oberon and aws-lambda-rust-runtime you can also consider the following projects:

oberon-riscv - Oberon RISC-V port, based on Samuel Falvo's RISC-V compiler and Peter de Wachter's Project Norebo. Part of an academic project to evaluate Project Oberon on RISC-V.

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

MoarVM - A VM with adaptive optimization and JIT compilation, built for Rakudo

Rocket - A web framework for Rust.

Smalltalk - Parser, code model, interpreter and navigable browser for the original Xerox Smalltalk-80 v2 sources and virtual image file

aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code

tectonic - A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.

OpenSSL - TLS/SSL and crypto library

atldotnet - Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets

FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project

nappgui - Cross-Platform C SDK (precompiled)

upx-action - Strips and runs upx on binaries