spring-native
DISCONTINUED
kotlinx.html
Our great sponsors
spring-native | kotlinx.html | |
---|---|---|
19 | 10 | |
2,772 | 1,540 | |
- | 2.6% | |
8.6 | 7.6 | |
about 1 year ago | 2 days ago | |
Java | Kotlin | |
Apache License 2.0 | Apache 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.
spring-native
-
Measuring Java 11 Lambda cold starts with SnapStart - Part 4 Using Spring Boot Framework
It was probably not a very good idea to write Lambda using Java programming language and Spring Boot Framework. Despite the well-spread usage and knowledge of this framework, the fact that Spring (Boot) heavily uses reflection and takes time to start the embedded Web Application Server led to very big cold starts which we'll explore in the next section. But now with SnapStart on AWS and GraalVM Native Image Support we have two more options how to optimize those cold starts. So let's explore how to write Lambda function using the Spring Boot. The code of this sample application (the same as for the first 3 parts but rewritten to use Spring Boot) can be found here. It provides AWS API Gateway and 2 Lambda functions: "CreateProduct" and "GetProductById". The products are stored in the Amazon DynamoDB. We'll use AWS Serverless Application Model (AWS SAM) for the infrastructure as a code.
- Compile the Minecraft Server (Java Edition) to Native with GraalVM Native Image
-
Introducing Spring Native for JHipster: Serverless Full-Stack Made Easy
During this experience, I was surprised to find that Spring Native doesn't support caching yet. I believe this support will be added by the community soon. In the meantime, if you're looking to start/stop your infra as fast as possible, you probably don't care about caching. Caching is made for long-lived, JVM-strong, JVM-loving apps.
-
Annotation-free Spring
As I just found out thanks to a comment from another Redditor, spring-aot will be getting some functional configuration compile time generation support in Spring Native's next release
But I just took a peek at Spring Native roadmap for 0.11 and they will be adding some of the spring-fu and spring-init-inspired functional configuration to spring-aot project (which, like I mentioned in another comment, already has compile-time generation support for various dynamic proxies that you mentioned)
-
Curious about opinions of the best cloud native microservice Java framework
Not sure how far they are currently, but have you heard of Spring Native? https://spring.io/blog/2021/03/11/announcing-spring-native-beta
-
Kotlin Team AMA #3: Ask Us Anything
Our next steps are : provide great Kotlin/JVM/Native (Native with Kotlin JVM via GraalVM native images) support via https://github.com/spring-projects-experimental/spring-native/, empowering multiplatform development (with Kotlin/JS frontend for example), translating Spring Boot documentation to Kotlin (via a contribution from Kotlin team), make sure that some APIs like WebTestClient currently broken with Kotlin due to some type inference bugs with recursive generic types become usable.
-
Is it right to use Spring & Spring boot?
I doubt micronaut has better runtime performance. You're probably talking about startup time and this point is moot with either https://github.com/dsyer/spring-boot-auto-reflect Or https://spring.io/blog/2021/03/11/announcing-spring-native-beta
-
Why I use Quarkus rather than Spring-Boot for my CNA apps
The real comparison would be Quarkus vs Spring Native.
-
Spring Native: Spring Boot but faster
But in March 2021, something happened in the community of Spring Boot users, and that was the release of the beta program of Spring Native.
kotlinx.html
-
Dart 3 will be on pair with Kotlin and other top languages (you can see more features in the proposal)
As for the strange infix syntax, you're correct - it's not important (for Dart anyway). Kotlin supports writing code that have DSL like syntax making things like typesafe HTML or Jetpack Compose possible.
- I taught the chat bot an alternative syntax for HTML, called HBML, basically just braces instead of tags... we are so screwed
-
Create any kind of app with Kotlin
Html DSL in Kotlin. See it on Github.
- Is there an equivalent for Compose Web for server side Kotlin apps?
-
Show HN: Imba – I have spent 7 years creating a programming language for the web
Thanks for sharing, I really like projects like this. And the website is really informative.
I find it less of a new language and more of a JS preprocessor, removing lots of the cruft and integrating XML-tags and CSS in a very neat way.
What I miss:
1) I feel the web is shifting to more type checking. TS, Elm, Kotlin.js... I personally also prefer more typesafety, especially if the project grows in LOC/team size.
2) Compared to JSX, Imba does a much better job in integrating adjacent technologies. Though I much prefer these to be integrated in an eDSL fashion. For example how Elm does HTML templating (in Elm) or Kotlinx.html[1].
Just taste i guess. Good luck with yr project!
-
Kotlin Team AMA #3: Ask Us Anything
I do use kotlinx.html and while there is a lack of the documentation about the tags, most of them are already implemented (as far as I know they are automatically generated) and the ones that aren't automatically generated can be implemented manually in your own project.
Recently I wanted to try doing Kotlin Fullstack with https://htmx.org/ , I looked at several HTML Template Engines and came across kotlinx.html. I really wanted to use it to make my whole stack type safe, but the few wiki pages that you call "documentation" really had me struggling to use it. https://github.com/Kotlin/kotlinx.html/wiki Like I didn't even find a whole list of all tags you have. I really expected different from a offical Jetbrains Kotlin library, not to mention there is a complete lack of tutorials for this library, I switched to mustache because they have way better documentation.
What are some alternatives?
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Quarkus - Quarkus: Supersonic Subatomic Java.
Micronaut - Micronaut Application Framework
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
Spring Boot - Spring Boot
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
kotlinx.coroutines - Library support for Kotlin coroutines
vertx-lang-kotlin - Vert.x for Kotlin
spark-kotlin - A Spark DSL in idiomatic kotlin // dependency: com.sparkjava:spark-kotlin:1.0.0-alpha
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]