eslint-plugin-big-number-rules
kphp
Our great sponsors
eslint-plugin-big-number-rules | kphp | |
---|---|---|
4 | 8 | |
12 | 1,286 | |
- | 2.3% | |
3.0 | 8.5 | |
5 days ago | 5 days ago | |
JavaScript | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
eslint-plugin-big-number-rules
-
eslint-plugin-big-number-rules: Enforce finance-safe calculations (helps 0.1 + 0.2 really equal 0.3)
And they did bite me, so I wrote this eslint plugin to help out a FinTech app that was experiencing a number of such bugs.
-
Speeding up the JavaScript ecosystem - one library at a time
Either avoid floating-point, perhaps using BigInt, or use a library like BigNumber.js. (Incidentally, I wrote an eslint plugin to enforce its use.)
-
[AskJS] How do you deal with floats in production apps?
I wrote an eslint plugin for it.
-
Become the master of your eslint with no-restricted-syntax
For example, say you want to avoid using native arithmetic in your finance calculations to avoid the infamous binary-floating-point problems. There's no way to get standard.js to warn you about that. But (warning: self promotion) an eslint plugin can be written to do that for you. :)
kphp
-
Compress PHP applications into one binary
It has a lot of limitations but KPHP is a PHP compiler that could fit your needs.
-
Generics
There are also https://github.com/VKCOM/kphp, but it lag quite a bit behind php
-
PHP Perfomance mode - Yay or Nay?
JIT is still so full of bugs for anything mildly complex, most static analysers don’t run on it without some weird behaviour and crashes (segfaults, core dumps, etc) that are hard for the average PHP dev to debug. It was a nice idea to help expand PHP to non-web applications but something like what’s being described here where code is transpiled except to a compiled language (like https://github.com/VKCOM/kphp) would be the best bet imo.
- KPHP – A PHP Compiler
-
NoColor — validate the architecture of your PHP project
We invented a new concept of function colors and implemented it in our KPHP compiler.
-
Become the master of your eslint with no-restricted-syntax
Since 2013 we have a php 2 c++ compiler, kphp — it was a hip idea back then, and Facebook had something similar with hiphop
-
[Question] What is the technical stack used in Telgram like programming languages used to build it, technology used to host this app?
Server side they use kphp (Probably a modified version) https://github.com/VKCOM/kphp
-
Highly faster PHP with KPHP translator to C++ [BEST of all for Highload]
You can also refer to [*PHP vs KPHP vs C++*](https://vkcom.github.io/kphp/various-topics/walk-through-php-kphp-cpp.html).
*[GitHub page](https://github.com/vkcom/kphp)* | *[Web-site (documentation)](https://vkcom.github.io/kphp/)*
What are some alternatives?
eslint-plugin-simple-import-sort - Easy autofixable import sorting.
Telegram - Telegram for Android source
bignumber.js - A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic
TelegramSwift - Source code of Telegram for macos on Swift 5.0
elephize - Typescript to PHP translation tool
PHP-Parser - PHP parser written in Go
proposal-decimal - Built-in decimal datatype in JavaScript
tg - `telegram-cli` for Telegram IM
break_eternity.js - A Javascript numerical library to represent numbers as large as 10^^1e308 and as small as 10^-10^^1e308. Sequel to break_infinity.js, designed for incremental games.
nocolor - Validate the architecture of your PHP project based on the concept of function colors
decimal.js - An arbitrary-precision Decimal type for JavaScript
static