|6 months ago||10 days ago|
|GNU General Public License v3.0 or later||MIT License|
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.
When calling built in functions, is it possible to see their code?
How to manage files in an OOP project?
1 project | reddit.com/r/learnprogramming | 18 Nov 2021
1 project | reddit.com/r/node | 18 Nov 2021
1 project | dev.to | 24 Oct 2021
2 projects | reddit.com/r/learnprogramming | 18 Oct 2021
What you're describing is not really possible with JS. Your best bet would be to look at the "V8 engine" source code. It is the interpreter used in Node.js and Chrome (and I think Edge would be using it too as Edge is built on Chromium). But there is nothing forcing Node.js to use V8, there are other JS interpreters. https://github.com/v8/v82 projects | reddit.com/r/learnprogramming | 18 Oct 2021
Best allocating method for my needs?
3 projects | reddit.com/r/cpp_questions | 16 Oct 2021
I think V8's memory management is here: https://github.com/v8/v8/blob/master/src/heap/heap.h3 projects | reddit.com/r/cpp_questions | 16 Oct 2021
Maybe you can look into how other fast VMs are storing their objects, e.g. JVM and V8.
Design patterns let you apply existing solutions to your code
2 projects | news.ycombinator.com | 14 Oct 2021
And the list goes on, and on.
V8 was designed by the same engineers who built the Java Virtual Machine, and what techniques did they employ to build this massive piece of software that runs the modern web? Object oriented design, and design patterns.
It's very probable people designing modern web applications for the FAANGs are not particularly aware of design patterns, or even maybe that MVC is a design pattern even if they are using it. It's possible many design patterns aren't useful for the types of problems they are solving, or could complicate matters if they used them haphazardly.
I'm not saying this is the end all, be all, of software design. Or that "modern" functional takes on software design (most functional languages and ideas predate OOP) aren't perfectly valid, or successful. Or even that they couldn't solve many of these problems.
I'm just contesting any dogmatic rejection of what has actually been one of the most successful branches of software design.
How is that i can access Data.now() without even creating a new obj instance of class date like like const newDate = new Date()
The implementation for Chrome (and browsers based on Chromium like Edge and Brave) is called V8. My c++ reading skills are not very good, but it looks like the Date implementation is around here: https://github.com/v8/v8/tree/master/src/date
Created my first game in Luxe engine - AMA
1 project | reddit.com/r/IndieDev | 26 Jan 2022
Luxe uses the Wren scripting language, and has its own APIs on top of that. It also has a graphical editor, and a modular design where people can create modules which you can include in your project to extend the engine's capabilities.
Open 3D Foundation announces first major release of Open 3D Engine
2 projects | reddit.com/r/gamedev | 3 Dec 2021
Take a look at Wren by Bob Nystrom, who also wrote the book Game programming Patterns
-🎄- 2021 Day 1 Solutions -🎄-
252 projects | reddit.com/r/adventofcode | 30 Nov 2021
I was initially going to do these in Python (and I still am) but someone in Discord got me to give Wren (https://wren.io/) a try. Here's my solution for both parts: import "io" for File
What's a good open source project for learning about programming languages?
2 projects | reddit.com/r/ProgrammingLanguages | 23 Nov 2021
And as a follow-up to this, the wonderful Wren, which has some neat extensions to the work done in Crafting Interpreters.
Wren is a small, fast, class-based concurrent scripting language
1 project | news.ycombinator.com | 22 Nov 2021
Benchmarks or analysis of pointer tagging
1 project | reddit.com/r/ProgrammingLanguages | 18 Nov 2021
I'd probably check out wren for just a generally better implementation as mine is essentially based on it's https://github.com/wren-lang/wren/blob/main/src/vm/wren_value.h.
What was your favourite programming language before Rust?
5 projects | reddit.com/r/rust | 11 Nov 2021
I'm still watching Wren, because in my eyes it is just Lua but with some modern additions and nicer syntax. All I need is a use-case...
Senegal Programming Language
3 projects | news.ycombinator.com | 10 Oct 2021
As always, all languages, especially the new one, should have a "why" section. For now there is:
> Senegal is a powerful, small-but-fast, concurrent, class-based, and dynamically-typed programming language with a modern syntax.
I think the closest thing to it is Wren? https://wren.io/. The difference being that Senegal is compiled and Wren is interpreted.
A few things of interest:
- there are exceptions
- you can call some C code: https://lang-senegal.web.app/docs/cimport
- you can "enhance" (monkey patch?) classes: https://lang-senegal.web.app/docs/enhance
- classic C-style for, while, switch keywords
- there's a pipeline operator, but it's https://lang-senegal.web.app/docs/pipeline
- the reference to "switch statements" probably means that switch and if are statements, not expressions
Lua is the best scripting language.
1 project | reddit.com/r/ProgrammerHumor | 4 Oct 2021
Try wren. Faster than Lua and fixes the many messy stuff you just mentioned.
Have any of you ever created your own programming languages as a hobby/learning experience?
5 projects | reddit.com/r/ProgrammingLanguages | 7 Sep 2021
I was reading about some of the languages created by Bob Nystrom, such as Finch, Wren, Vigil and Magpie, mainly after seeing a new Wren track on exorcism and checking the language out. Yet that got me thinking, do many people create programming languages for a hobby/learning experience?
What are some alternatives?
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
ChaiScript - Embedded Scripting Language Designed for C++
LuaJIT - Mirror of the LuaJIT git repository
Cython - The most widely used Python to C compiler
SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond