https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
framework-elide
  • s

    Sam Gammon

    12/20/2022, 11:09 AM
  • s

    Sam Gammon

    12/20/2022, 11:09 AM
    we have a repl 🙂
  • s

    Sam Gammon

    12/20/2022, 11:10 AM
    (or should)
  • s

    Sam Gammon

    12/20/2022, 11:10 AM
    i.e. it may depend on graalvm to build the server library, but maybe not to use it? i'll have to try
  • s

    Sam Gammon

    12/21/2022, 10:42 AM
    give it a shot when you have an extra moment 🙂
  • s

    Sam Gammon

    12/21/2022, 10:42 AM
    curl -sSL <https://dl.elide.dev/cli/v1/snapshot/install.sh> | bash
    d
    • 2
    • 1
  • s

    Sam Gammon

    12/27/2022, 10:45 AM
    hey there @Damien O'Hara... quick update, hope your holiday was great
  • s

    Sam Gammon

    12/27/2022, 10:46 AM
    Elide Runtime Progress:
    d
    • 2
    • 6
  • s

    Sam Gammon

    12/30/2022, 8:38 AM
    @Damien O'Hara elide architecture map just dropped 🙂
  • s

    Sam Gammon

    12/30/2022, 8:45 AM
    oh, also, you can now try out Elide with
    npx run @elide-dev/elide@alpha
  • s

    Sam Gammon

    01/01/2023, 2:49 AM
    🙂 🚀
  • s

    Sam Gammon

    01/01/2023, 8:46 AM
    @suresh welcome 🙂 and happy new year! 😛arty-parrot:
    s
    • 2
    • 4
  • s

    Sam Gammon

    01/02/2023, 1:52 AM
    @Damien O'Hara wdyt? guest VFS architecture
  • s

    Sam Gammon

    01/02/2023, 1:53 AM
    i think it will be very fast, given the flatbuffer backing and i'm anticipating using LZ4 for compression -- but i'm concerned that a custom binary-only format makes inspection difficult for devs
  • s

    Sam Gammon

    01/02/2023, 1:53 AM
    i like that it's a standard tarball but maybe, for example, it should also have a JSON file, so that it can easily be inspected?
  • s

    Sam Gammon

    01/02/2023, 1:53 AM
    @suresh if you're curious or want to provide feedback, let me know 🙂, about any topic
  • s

    Sam Gammon

    01/02/2023, 2:03 AM
    the steps at runtime, i'm thinking, are 1. if enabled in app configuration: a. load the tarball from JAR resources or file (it having been placed there by the Gradle plugin, or equivalent, modulo toolchain in use) b. look for magic # header, grab
    crc32
    and
    compression
    mode c. seek to beginning of
    Tree
    flatbuffer, load it into memory while decompressing, according to
    compression
    d. the
    Tree
    has the file tree and byte offsets for each file, which we have on hand now e. we load the data region as a
    RandomAccessFile
    , perhaps written to tmp f. the
    Tree
    and data region are used to build an in-memory JimFS filesystem, decompressing while we go g. at runtime, guest requests file via I/O: i. impl receives request, enforces security policies ii. allowed requests go to JimFS iii. JimFS serves it from memory in already-decompressed form tradeoff decisions proposed: • Init instead of runtime: load and decompress up-front so that file loading at runtime is instant, it's all already in memory • Emphasis on fast decompression: LZ4 won't save a ton of space, but it will also minimize impact on startup time to the greatest extent possible • Non-goal of pre-compressed browser assets: The assets subsystem already pre-compresses assets at build time, so it's a moot issue • Backed by well-tested code: After boot, JimFS kicks in which is well tested and performant (we don't have to deliver crazy runtime performance) • Streaming and copy-free: As much as possible, we shouldn't have to copy while initializing the runtime, which Flatbuffers and streaming compression deliver (for reference, this is the guest FS that will be used to load ESM, NPM, Python modules, etc).
  • s

    Sam Gammon

    01/02/2023, 2:03 AM
    sry let me put that in-thread
  • s

    Sam Gammon

    01/02/2023, 2:05 AM
    future optimizations: • do away with JimFS in favor of purely backing it with
    RandomAccessFile
    and a compressed flatbuffer • implementation that proxies to pure mmap or something, idk
    • 1
    • 1
  • s

    Sam Gammon

    01/02/2023, 9:24 PM
    @Adam Crane, @Sebastian Schuberth, welcome!
  • s

    Sam Gammon

    01/02/2023, 9:24 PM
    @Sebastian Schuberth just made the first contribution to Elide outside the core team. Huge moment! Thank you again! Lol
    s
    • 2
    • 19
  • s

    Sam Gammon

    01/10/2023, 1:48 AM
    hey everybody, welcome to the new channel members @manoj s, @César, @ayodele, @Maryna Cherniavska, @S., @Szymon Kaczorowski 😄
    m
    • 2
    • 1
  • s

    Sam Gammon

    01/10/2023, 1:48 AM
    sorry the channel has been quiet, because of the rains on the west coast of the U.S. i was flooded out but i'm back at my desk! we should have a contributors guide ready in the next 48 hrs or so.
  • s

    Sam Gammon

    01/10/2023, 1:49 AM
    the virtual filesystem for the JavaScript VM is nearly done -- landing with this release will be support for JS imports and
    require
    as well.
  • s

    Sam Gammon

    01/12/2023, 4:33 AM
    quick preview of the design for errors that surface in user code
  • s

    Sam Gammon

    01/12/2023, 7:05 PM
    errors: a comparison of js runtimes
  • s

    Sam Gammon

    01/12/2023, 7:05 PM
    very strange behavior from deno tbh
  • s

    Sam Gammon

    01/15/2023, 10:34 AM
    hey guys, wanted to announce that a few changes will be made this evening (Sun Jan 15th, 2023) • the
    v3
    repo will be renamed to "elide" (the previous "elide" repo has been archived, it was v1/v2, which are now old) • github discussions will get activated • gitter and a button for this slack channel added to README separately, a test version of the CLI is out which has the error support shown above, plus a bunch of other goodies under testing. release coming soon. you can try it by running the one-line installer:
    curl -sSL --tlsv1.2 dl.elide.dev/cli/install.sh | bash -s -
  • s

    Sam Gammon

    01/25/2023, 7:34 PM
    hello friends of the Elide Project 🙂 I'm happy to announce that Elide finally has a website! 🥳 there is a short Getting Started guide along with (very thin) docs for using the Gradle plugin. More coming soon. Of course, the site itself is built with Elide. Read below for stats on the finished app. https://elide.dev
    • 1
    • 2
  • s

    Sam Gammon

    01/28/2023, 3:09 AM
    welcome @Cherrio LLC! 🙂
Powered by Linen
Title
s

Sam Gammon

01/28/2023, 3:09 AM
welcome @Cherrio LLC! 🙂
View count: 1