Telegram Group & Telegram Channel
Deno bilan native desktop dastur yasash

Yangi yil oldi bo'sh vaqtim ko'p bo'ldi. Shu sabab Deno v2 chiqqanidan beri o'ylab yurgan bir tajribani qilib ko'rdim.

Deno yozgan skriptingizni native binary (.exe) ga kompilyasiya qilib bera oladi. O'ylab qoldim, demak Denoda UI app qilsak, uni ham .exe faylga osongina kompilyatsiya qilib beridimi? Axir bu juda ajoyibku dedim. Lekin muammo shuki, Denoda UI library yo'q! 🤔

Ammo FFI imkoniyati bor!
(Foreign Function Interface)

Shu orqali C/C++, Rust, Go kabi tillarda yozilgan DLL kutubxonalarni ishlatish mumkin.💡

Soddaroq, lekin komponentlarga boy bo'lgan C++ kutubxona tanladim - TGUI.
SFML ustiga qurilgan, API juda yaxshi.
Unga ba'zi o'zgartirishlar kiritgan holda Windows va OSX ga DLL tayyorladim. Deno FFI bilan C++ funksiyalarni JS ga ulab chiqdim. Voilà! 🎉

Anchagina metaprogramming qilib, chidasa bo'ladigan API qildim. Mana natija:

https://github.com/diyorbek/tgui.js



tg-me.com/brogrammist/291
Create:
Last Update:

Deno bilan native desktop dastur yasash

Yangi yil oldi bo'sh vaqtim ko'p bo'ldi. Shu sabab Deno v2 chiqqanidan beri o'ylab yurgan bir tajribani qilib ko'rdim.

Deno yozgan skriptingizni native binary (.exe) ga kompilyasiya qilib bera oladi. O'ylab qoldim, demak Denoda UI app qilsak, uni ham .exe faylga osongina kompilyatsiya qilib beridimi? Axir bu juda ajoyibku dedim. Lekin muammo shuki, Denoda UI library yo'q! 🤔

Ammo FFI imkoniyati bor!
(Foreign Function Interface)

Shu orqali C/C++, Rust, Go kabi tillarda yozilgan DLL kutubxonalarni ishlatish mumkin.💡

Soddaroq, lekin komponentlarga boy bo'lgan C++ kutubxona tanladim - TGUI.
SFML ustiga qurilgan, API juda yaxshi.
Unga ba'zi o'zgartirishlar kiritgan holda Windows va OSX ga DLL tayyorladim. Deno FFI bilan C++ funksiyalarni JS ga ulab chiqdim. Voilà! 🎉

Anchagina metaprogramming qilib, chidasa bo'ladigan API qildim. Mana natija:

https://github.com/diyorbek/tgui.js

BY Brogrammist




Share with your friend now:
tg-me.com/brogrammist/291

View MORE
Open in Telegram


Brogrammist Telegram | DID YOU KNOW?

Date: |

Telegram Auto-Delete Messages in Any Chat

Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.

Telegram today rolling out an update which brings with it several new features.The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations.

Brogrammist from us


Telegram Brogrammist
FROM USA