|over 2 years ago||4 months ago|
|MIT License||GNU General Public License v3.0 or later|
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.
[AskJS] C++ -> compile to both wasm for web and binary add-on for node.js?
nbind aimed to do that, but it's difficult to maintain, and it didn't take off.
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
High-performance garbage collection for C++ V8
2 projects | news.ycombinator.com | 28 Sep 2021
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++
Cython - The most widely used Python to C compiler
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
CppSharp - Tools and libraries to glue C/C++ APIs to high-level languages
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