Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

webidl

Can WASM access the DOM without any JavaScript?

April 7, 2024 by Tarik

In the WebAssembly Minimal Viable Product the only way to call into and out of WebAssembly is through imports and exports. In the future, WebAssembly may gain capabilities which allow the embedder expose APIs directly, in a browser embedding this could include the DOM. Imports and exports aren’t very complicated though: from your C code’s … Read more

Categories webassembly Tags webassembly, webidl Leave a comment

How to associate constants with an interface in C#?

December 31, 2023 by Tarik

I added a Get only property and backed it up with a const in the definition. public interface IFoo { string ConstValue { get; } } public class Foo : IFoo { public string ConstValue => _constValue; private string _constValue = “My constant”; }

Categories c# Tags c++, c++-cli, idl, webidl Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa