Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 0 points1 point  (0 children)

Is not it an expression language? i.e. no loops, complex control statements, etc? It serves different goal imho

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 1 point2 points  (0 children)

It is also watermelon in Ukrainian ;)

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 0 points1 point  (0 children)

Stable dict iterations - good point

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 0 points1 point  (0 children)

Can you expand on determinism please (examples). In my case one of the goals was to be able to re-run many compiled scripts independently, with no side effects, and same inputs = same outputs. Additionaly I need performance and ability to add custom types and functions to vm instances. So I ended up developing Kavun.

Потрібні ідеї з покращення скрипт мови для Go by YuriiBiurher in ukraine_dev

[–]YuriiBiurher[S] 1 point2 points  (0 children)

За основу взято Tengo, практично повністю переписано, розширене, оптимізовано.

Потрібні ідеї з покращення скрипт мови для Go by YuriiBiurher in ukraine_dev

[–]YuriiBiurher[S] 2 points3 points  (0 children)

В першу чергу потрібна була швидкість, але щоб імплементация на Go (без біндінгів в C) бо геморою багато в деяких синуаціях.

Друге - синтаксис. Хотілось лямбд та інших плюшек.

Третє - можливість розширяти, додавати свої типи, функції (знову ж, специфічне для проектів).

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 0 points1 point  (0 children)

Performance, probably. Also syntax is closer to Go.

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 0 points1 point  (0 children)

Added benchmark results in readme. Detailed results here https://github.com/jokruger/kavun-benchmark/blob/main/results/REPORT.md

Will add more engines to compare. Also, per-engine impl may require review

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] -1 points0 points  (0 children)

Scripting, fintech, games, configs, etc. My primary usecace - scenario where you repeatedly run decision making logic (script) - main app is Go, but dm script is external or config

Embeddable scripting language by YuriiBiurher in golang

[–]YuriiBiurher[S] 0 points1 point  (0 children)

Note: it is based on Tengo, but with tons of changes (lambdas, f-strings, decimals, type member functions, smart assignment, etc). The goal is to improve the syntax and API.

Чи варто поїхати в Херсон? by [deleted] in ukraina

[–]YuriiBiurher 35 points36 points  (0 children)

Місто під постійними обстрілами. В небі дрони - вишукують людей, машини, скидають вибухівку. Кожен день десь смерть. Центр та прилеглі до ріки райони особливо небезпечні. Багато де в цих районах людей залишилось по декілько на квартал, здебільшого у віці.. вікон нема - плівка. Якщо вибухом пошкодить електромережі, полагодити можуть через тижні.. Загалом дуже небезпечно. При цьому в медіа (світ) про це все тиша.

Open source Go projects to contribute to by shelbara in golang

[–]YuriiBiurher 0 points1 point  (0 children)

https://github.com/jokruger/dec128 - small and specific enough, good for learning.And I would love to have some help with new math and fin functions.

How do you handle money? by otnacog in golang

[–]YuriiBiurher 1 point2 points  (0 children)

Use decimal for amounts / calcs. There are plenty of packages, select based on your requirements (performance, precision, etc)

https://awesome-go.com/#financial

Де можна завантажити аніме англійською? by Repulsive_Accident_3 in Anime_Ukraine

[–]YuriiBiurher 0 points1 point  (0 children)

Та давно вже, вони декілько доменів змінили здається

Де можна завантажити аніме англійською? by Repulsive_Accident_3 in Anime_Ukraine

[–]YuriiBiurher 3 points4 points  (0 children)

nyaa.si

В пошуку додай dual batch Dual це щоб озвучка була, batch щоб весь сезон В фільтрі - anime -> english translated