News Saturday, July 21

Does TypeScript make for more performant JavaScript? · Matt Sherman

  • I have a theory that the use of TypeScript de facto makes for more performant JavaScript, by making the runtimes type prediction more accurate.
  • TypeScripts static types are erased at compile time, of course, and are not present at runtime.
  • As an optimization, if I understand correctly, JavaScript runtimes (such as V8) do their best to predict types, based on runtime observation.
  • If a variable say, a function parameter turns out to be a number most of the time, V8 will predict a number type for subsequent invocations.
  • So V8s type prediction turns out to be more accurate, more often, thanks to the discipline enforced at development time.

Tags:

Does TypeScript make for more performant JavaScript? · Matt Sherman

Autoimport always imports relative to baseUrl · Issue #19920 · Microsoft/TypeScript

  • Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
  • By clicking Sign up for GitHub, you agree to our terms of service and privacy statement.
  • Already on GitHub?
  • Sign in to your account

Tags:

Autoimport always imports relative to baseUrl · Issue #19920 · Microsoft/TypeScript

Fast TDD setup for TypeScript

  • Writing tests is not the most enjoyable task for many developers.
  • Test-driven development (TDD) is an approach to software development where you write unit tests along with the application code.
  • We need a command line approach to creating a fast TDD setup.
  • If the previous test run has not yet completed, and a new one is started, the previous one needs to be terminated.
  • It’ll watch for changed files, then compile TypeScript and launch test runner.

Tags:

Fast TDD setup for TypeScript

[documentation] Clarify the semantics of void · Issue #20006 · Microsoft/TypeScript

  • Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
  • By clicking Sign up for GitHub, you agree to our terms of service and privacy statement.
  • Already on GitHub?
  • Sign in to your account

Tags:

[documentation] Clarify the semantics of void · Issue #20006 · Microsoft/TypeScript

claudiordgz (Claudio Rodriguez)

Tags:

claudiordgz (Claudio Rodriguez)

Why TypeScript · TypeScript Deep Dive

Tags:

Why TypeScript · TypeScript Deep Dive

js-validation-check

Tags:

js-validation-check

28 выпуск 06 сезона. TypeScript 3.0 RC, Ruby 2.6 adds String#split with block, Goodbye Microservices, Chessboard.jsx и прочее

Tags:

28 выпуск 06 сезона. TypeScript 3.0 RC, Ruby 2.6 adds String#split with block, Goodbye Microservices, Chessboard.jsx и прочее | RWpod – подкаст про мир Ruby и Web технологии

Slaying a UI Antipattern with Web Components (and TypeScript)

Tags:

Slaying a UI Antipattern with Web Components (and TypeScript) | Lobsters

TypeScript für Java-Entwickler – Java User Group Kaiserslautern – Community für Java Entwickler in und um Kaiserslautern

Tags:

TypeScript für Java-Entwickler – Java User Group Kaiserslautern – Community für Java Entwickler in und um Kaiserslautern





Source link https://jsnews.io/typescript/npm-javascript-typescript-ruby-much-more/

LEAVE A REPLY

Please enter your comment!
Please enter your name here