並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 183件

新着順 人気順

staticの検索結果1 - 40 件 / 183件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

staticに関するエントリは183件あります。 githubjavascripttechfeed などが関連タグです。 人気エントリには 『時代がstaticおじさんに追いついてきた(追記あり) - きしだのHatena』などがあります。
  • 時代がstaticおじさんに追いついてきた(追記あり) - きしだのHatena

    この文章みてください。 オレはもう20年以上システム業界にいるけどな、その長い経験から言うと、オブジェクト指向なんてものは、理論としては面白いけど、およそ実用的とは言い難いものだな。まぁ、例えばGUIのコンポーネントとかはオブジェクト指向に基づいて作られているようだから、そういうツールとかを作る人には必要なものなのかもしれない。しかし君たちがいずれ作ることになる業務アルゴリズムにはまったく無縁のものだと思ってもらって間違いない。どうもこの業界、オブジェクト指向でなければダメ、というような風潮がまかりとおっているけどな、オブジェクト指向なんか本当に使っている人はほとんどいないよ。オレも少し勉強してみたけど、カプセル化とかポリ何とかとか、どうにも利点が理解できなかったね。実際、実業務で使ったことなどないしな…… 「またお前、オブジェクト指向の話をしてるのか」と思ったかもしれませんが、2010年

      時代がstaticおじさんに追いついてきた(追記あり) - きしだのHatena
    • Hosting SQLite databases on Github Pages - (or IPFS or any static file hoster) - phiresky's blog

      Hosting SQLite databases on Github Pages(or IPFS or any static file hoster) Apr 17, 2021 • Last Update Jun 04, 2023I was writing a tiny website to display statistics of how much sponsored content a Youtube creator has over time when I noticed that I often write a small tool as a website that queries some data from a database and then displays it in a graph, a table, or similar. But if you want to

      • Ruby30周年イベント(後編):まつもと氏「Static Compiler for Ruby」を作りたい。道具立ては揃ってきた

        Ruby30周年イベント(後編):まつもと氏「Static Compiler for Ruby」を作りたい。道具立ては揃ってきた まつもとゆきひろ氏によって開発が始まったRuby言語の30周年を祝うイベント「プログラミング言語Ruby30周年記念イベント」が2月25日にオンラインで開催されました。 イベントでは関係者やRuby愛好家らによる過去30年の振り返りやRubyにまつわるライトニングトークなどが行われ、最後にまつもとゆきひろ氏による基調講演「D is for Dream, V for Vaporware」が行われました。 基調講演では、Rubyを開発する前にまつもと氏が手がけた、Rubyの原点となるソフトウェア「CXライブラリ」や、今回初めて名前が明かされた「Tish」という作りかけのプログラミング言語や、これまであまり語られることのなかった、さらにその前の学生時代に妄想していたプ

          Ruby30周年イベント(後編):まつもと氏「Static Compiler for Ruby」を作りたい。道具立ては揃ってきた
        • 50 Projects for React & the Static Web

          50 Projects for React & the Static WebLearn by doing with this FREE ebook! Get the ebook straight to your inbox. Email AddressGet It Free Not sure what to build?Dive in with 50 projects complete with project briefs and wireframes! Learn by DoingOne of the best ways to learn is by doing the work. Choose from 8 project categories and get started right away.

            50 Projects for React & the Static Web
          • Pagefind | Pagefind — Static low-bandwidth search at scale

            Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure. Pagefind runs after Hugo, Eleventy, Jekyll, Next, Astro, SvelteKit, or any other website framework. The installation process is always the same: Pagefind only requires a folder containing the built static files of yo

              Pagefind | Pagefind — Static low-bandwidth search at scale
            • Java のpublic static void main なくなるってよ。 - Qiita

              そもそもなに? Javaプログラムのエントリポイントは、public static void main(String[] args)と相場が決まっています。いっぽうでツイッター界隈ではJava 21の最新機能として必ずと言っていい程「今後はstatic要らないんだよ」これが出てきます。 短期間に二度三度出てきたので、気になって調べてみました。すごく気になったのは static の記述自体の廃止 これは目も当てらません。ちょっとjava使うの辞めたい気持ちになります。なぜなら、javaバイトコード仕様自体が変更になるということは過去資産が使えなくなる可能性や、今後のマイグレーション案件に多大な影響を与えるからです。。ほんとまずい。。 調べてみましょう こういう時は1次情報をきちんと見ないといけませんね。JDKの一次情報といえば OpenJDKの公式サイト ですね。みてみましょう。Featur

                Java のpublic static void main なくなるってよ。 - Qiita
              • ドラッグ&ドロップで完結!誰でもWebサイトを無料で公開できる「Static」を使ってみた! - paiza times

                どうも、まさとらん(@0310lan)です! 今回は、面倒な作業が一切不要の無料ホスティングサービスをご紹介します! とにかくソースコードなどのリソースをドラッグ&ドロップでアップロードするだけで、誰でも簡単に自分のWebサイトを公開できるのが大きな特徴です。作成できるWebサイトの数や容量もほとんど制限がないのに無料で使えるのも魅力的です。 Webサイトの公開に興味ある方はぜひ参考にしてみてください! 【 Static 】 ■「Static」の使い方 それでは、「Static」をどのように使えばいいのか詳しく見ていきましょう。 サイトにアクセスしたら【SIGN UP】の項目をクリックして、まずは無料のユーザー登録を済ませておきます。 Googleアカウントから手軽にログイン可能ですが、メールアドレスとパスワードの組み合わせでも簡単に登録できます。 登録が完了したら、以下のようなダッシュボ

                  ドラッグ&ドロップで完結!誰でもWebサイトを無料で公開できる「Static」を使ってみた! - paiza times
                • 静的サイトのCI/CDでも侮るなかれ!Docs as Codeに沿ったセキュアな開発プロセスの実践/secure-docsascode-cicd-for-static-sites

                  「ServerlessDays Tokyo 2024」での登壇資料です。 イベントURL:https://serverless.connpass.com/event/325659/

                    静的サイトのCI/CDでも侮るなかれ!Docs as Codeに沿ったセキュアな開発プロセスの実践/secure-docsascode-cicd-for-static-sites
                  • Apple、Mac上でクロスコンパイルによるLinuxバイナリの生成を可能に。「Swift Static Linux SDK」発表

                    AppleはMac上でクロスコンパイルによるLinuxバイナリの生成を可能にするSwift言語の新しいSDK「Swift Static Linux SDK」を発表しました。 Mac上でLinuxバイナリの生成を可能にするSwift Static Linux SDK Swiftは以前からMacやiPhoneなどのAppleプラットフォーム、Windows、Linuxに対応しており、Linux用のアプリケーション開発が可能です。 しかしこれまでSwiftで開発したLinuxアプリケーションは、ターゲットとなるマシンにSwiftのランタイムや依存関係を持つファイルなどをあらかじめコピーしておく必要がありました。また、特定のLinuxディストリビューションのバージョンをターゲットに開発した場合、メジャーバージョンが変わるとうまく実行できないことがありました。 今回発表された「Swift Stati

                      Apple、Mac上でクロスコンパイルによるLinuxバイナリの生成を可能に。「Swift Static Linux SDK」発表
                    • Nextra – Next.js Static Site Generator – Nextra

                      Make beautiful websites with Next.js & MDXSimple, powerful and flexible site generation framework with everything you love from Next.js Get started →

                        Nextra – Next.js Static Site Generator – Nextra
                      • Next.js の Incremental Static Regeneration を理解する

                        Next.js 9.4 から Incremental Static Regeneration という機能が実装されました。 段階的な静的サイト生成と訳されていて、SSG のビルドを最適化するものだろうなって認識しか無かったのですが自身のブログを ISR に対応させたので紹介していきます。 Next.js のビルドパターン紹介 Next.js のビルドにはいくつかパターンがあり、pages/ コンポーネントの処理に応じて適した出力をしてくれます。 どのパターンでビルドされてるかはログに書かれており、参考までにブログを yarn build した結果下記のように表示されました。 Page Size First Load JS ┌ ● / (ISR: 1 Seconds) AMP AMP ├ /_app 0 B 58.4 kB ├ ○ /404 0 B 58.4 kB ├ ○ /about AM

                          Next.js の Incremental Static Regeneration を理解する
                        • 無料でも使える新サービス「Azure Static Web Apps」はここまでできる!

                          今回は2020年の5月に発表され、2021年5月に正式に一般公開されたばかりのホヤホヤサービスである「Azure Static Web Apps」についてご紹介します。 AzureでWebアプリをデプロイしようと思ったら真っ先に思い浮かぶのはAzure Web Appsです。 Azure Web AppsはPaaSの一種であり、.NETやJava、Node.js、PHP、Pyhton等多様な言語で書かれたWebアプリをインフラのことを気にすることなくデプロイできるのが特徴になります。 また、静的なサイトのホストティングということでは 「Azure Storageでの静的Webサイトホスティング」という方法もあります。 既にいくつかの選択肢があるなかで新たに追加された「Azure Static Web Apps」は何が特徴なのでしょうか。 1. 安価 Static Web Appsには二種類

                            無料でも使える新サービス「Azure Static Web Apps」はここまでできる!
                          • Pages CMS: The No-Hassle CMS for Static Sites Generators

                            The No-Hassle CMS for Static Sites Generators Tired of juggling Git and YAML to update your Next.js, Astro, Hugo or Nuxt website? Make it easy on you and your team, get a user-friendly CMS running straight on top of GitHub.

                              Pages CMS: The No-Hassle CMS for Static Sites Generators
                            • Next.jsのIncremental Static RegenerationをVercel以外でやってみる - Sweet Escape

                              本記事はNext.js Advent Calendar 2020の9日目です。 tl;dr Vercel以外でもIncremental Static Regenerationは可能 試した範囲ではフルに機能するのはコンテナで動かした場合のみ AWSのサーバーレスで動かすのは現時点で絶望的 はじめに 早速ですが、みなさん、次世代のStatic Site Generation(SSG)と言っても過言ではないIncremental Static Regeneration(ISR)はご存知でしょうか。 一応知らない人のためにすごく簡単に説明をすると、『リクエストに対して静的にビルドされたページを返しつつ、有効期限が過ぎたら非同期で静的ページの再生成をSSRで行う』っていうものです。Cache Controlにおけるstale-while-revalidateと同じような考え方が適用されたものとも言

                                Next.jsのIncremental Static RegenerationをVercel以外でやってみる - Sweet Escape
                              • ServiceWorkerの課題を解決する!? Static Routing APIを使ってみた - Repro Tech Blog

                                はじめに こんにちは、Repro Booster という製品の開発責任者/プロダクトマネジメントを担当しているEdward Fox(@edwardkenfox)です。 今回は、ServiceWorkerに組み込まれた新機能「Static Routing API」を実際に試してみた件について説明します。Repro Boosterでの応用を通じて得た知見を共有できればと思います。 Repro Boosterとは Repro Boosterは、私たちが提供しているパフォーマンス最適化ソリューションです。サイトにタグを設置するだけで、読み込み速度が向上するというシンプルなコンセプトで設計されています。 その鍵となる技術の一つがServiceWorkerの活用です。ServiceWorkerはブラウザのバックグラウンドで動作し、リソースキャッシュやネットワークの中継など、従来のWebサイトでは実現で

                                  ServiceWorkerの課題を解決する!? Static Routing APIを使ってみた - Repro Tech Blog
                                • GitHub - getmeli/meli: Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more.

                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                    GitHub - getmeli/meli: Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more.
                                  • Static search trees: 40x faster than binary search

                                    1 Introduction1.1 Problem statement1.2 Motivation1.3 Recommended reading1.4 Binary search and Eytzinger layout1.5 Hugepages1.6 A note on benchmarking1.7 Cache lines1.8 S-trees and B-trees2 Optimizing find2.1 Linear2.2 Auto-vectorization2.3 Trailing zeros2.4 Popcount2.5 Manual SIMD3 Optimizing the search3.1 Batching3.2 Prefetching3.3 Pointer arithmetic3.3.1 Up-front splat3.3.2 Byte-based pointers3.

                                    • iOSアプリ起動高速化に挑戦!不要コードやリソースの見直しとライブラリのstatic化編 - Uzabase for Engineers

                                      みなさんこんにちは。NewsPickでiOSアプリの開発をしている森崎です。 当記事ではどのアプリも一度は見直しを検討したことがあるであろう、アプリの起動時間の高速化についてお話しします。 他の記事で起動時の処理や高速化への改善策を書いたので、ここでは具体的に行ったこととその結果を数字とともに書きたいと思います。 ⬇️起動時の処理や高速化への改善策を書いた記事です。 こちらを読んでもらうと、当記事の内容がより理解できると思います。(読まなくてももちろんわかります!) qiita.com 今回はSystem Interface Initializationの箇所の見直をしました。(⬇︎この箇所) InstrumentsのApp Launchの計測結果 System Interface Initializationでは何をしているのか まずは結果から 具体的な作業内容 不要な実装の削除 dyn

                                        iOSアプリ起動高速化に挑戦!不要コードやリソースの見直しとライブラリのstatic化編 - Uzabase for Engineers
                                      • TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs

                                        2023/02/03 に開催された、 #kyotojs での発表時の登壇資料です。

                                          TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs
                                        • Dynamic Static Typing In TypeScript — Smashing Magazine

                                          In this article, we look at some of the more advanced features of TypeScript, like union types, conditional types, template literal types, and generics. We want to formalize the most dynamic JavaScript behavior in a way that we can catch most bugs before they happen. We apply several learnings from all chapters of TypeScript in 50 Lessons, a book we’ve published here on Smashing Magazine late 2020

                                            Dynamic Static Typing In TypeScript — Smashing Magazine
                                          • Static Typing for Ruby - Shopify

                                            Static Typing for RubyA look at how Shopify adopted static typing in it's core Ruby monolith by treating type checking like a product. On November 25, 2020 we held ShipIt! Presents: The State of Ruby Static Typing at Shopify. The video of the event is now available. Shopify changes a lot. We merge around 400 commits to the main branch daily and deploy a new version of our core monolith 40 times a

                                              Static Typing for Ruby - Shopify
                                            • Next.jsのStatic Exportsを本番プロダクトで利用してみた感想と注意点 - Tabelog Tech Blog

                                              目次 はじめに Static Exportsとは Static Exportsを採用した経緯 Static Exportsを利用する際の注意点 Dynamic Routingが使えない 対策 運用してみての感想 まとめ 最後に はじめに こんにちは。食べログ ウェブ開発部 FEチームの原田です。 昨年リリースした食べログノートではNext.jsを利用しており、Static Exportsを採用しています。 今回は食べログノートでStatic Exportsを採用した経緯や採用するための注意点、実際に運用してみての感想をお伝えします。 食べログノートの詳細については以下の記事も是非ご覧ください。 https://note.com/tabelog_frontend/n/na9a2ce24a4d5 Static Exportsとは Static Exportsとは、Next.jsのウェブアプリケ

                                                Next.jsのStatic Exportsを本番プロダクトで利用してみた感想と注意点 - Tabelog Tech Blog
                                              • The Static Site Guide

                                                This is a book about creating and publishing static websites using HTML, CSS, and the Hugo static site generator. It’s still a work in progress, but you can read the draft chapters here. Table of ContentsIntroductionMaking Your First Web PagePublishing Your Web PageSprucing Things UpCreating a Static Website Using HugoCustomizing Your Hugo WebsiteUsing a Custom Domain NameImplementing Version Cont

                                                  The Static Site Guide
                                                • GitHub - sinclairzx81/typebox: Json Schema Type Builder with Static Type Resolution for TypeScript

                                                  ┌────────────────────────────────┬─────────────────────────────┬────────────────────────────────┐ │ TypeBox │ TypeScript │ Json Schema │ │ │ │ │ ├────────────────────────────────┼─────────────────────────────┼────────────────────────────────┤ │ const T = Type.Any() │ type T = any │ const T = { } │ │ │ │ │ ├────────────────────────────────┼─────────────────────────────┼─────────────────────────────

                                                    GitHub - sinclairzx81/typebox: Json Schema Type Builder with Static Type Resolution for TypeScript
                                                  • GitHub - ixkaito/nextsss: Next.js static site starter including full setup for TypeScript, Tailwind CSS, Google Analytics, Next SEO, etc.

                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                      GitHub - ixkaito/nextsss: Next.js static site starter including full setup for TypeScript, Tailwind CSS, Google Analytics, Next SEO, etc.
                                                    • GitHub - praetorian-inc/gokart: A static analysis tool for securing Go code

                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                        GitHub - praetorian-inc/gokart: A static analysis tool for securing Go code
                                                      • SimpleでStaticなNext.jsを中心としたフロントエンド技術選定

                                                        Next.js 事務局と権利者で利用 アプリケーション基盤となるフレームワークとしてNext.jsを利用しています。2022年の4月頃の開発立ち上げ当時から使い続けています。時期的にもReactで中規模以上のアプリケーションつくるならデファクトスタンダードだったと認識しています。 開発初期はとにかく事業の立ち上げのスピードを優先しており、ゼロコンフィグで簡単にアプリケーションが立ち上がること、ファイルベースルーティングが直感的でわかりやすいことなどが採用の理由でした。 export: static 事務局と権利者アプリケーションともに全てのページでログインしないと利用できないサービスなのでstaticビルドをしています。APIサーバーはJava(Spring Boot)で動いており、ログインが確認出来次第、全てブラウザからAPIコールしています。 ビルド時にAPIサーバーへの通信は発生して

                                                          SimpleでStaticなNext.jsを中心としたフロントエンド技術選定
                                                        • Azure Static Web Apps で Puppeteer を動かしたかった - ほりひログ

                                                          はじめに 前回のエントリーでは、Azure Functions で Puppeteer を動かして、特定のページのスクリーンショットを取得する Web API を作ってみました。 uncaughtexception.hatenablog.com Web API で動作がするのは確認できましたが、Web ブラウザーのアドレスランを編集して URL クエリーに対象の URL を入れるのがやや面倒なので、Web API を使用しつつ Web ページで UI を作ってみたいと思い、 静的ページとバックエンド API を一緒にデプロイできる Azure Static Web Apps (以下 SWA、ちな Preview) で試してみました。 Azure Static Web Apps を作る クイック スタートがあるので、そのまま使います。 docs.microsoft.com ざっくりいうと、

                                                            Azure Static Web Apps で Puppeteer を動かしたかった - ほりひログ
                                                          • GitHub - rhysd/actionlint: :octocat: Static checker for GitHub Actions workflow files

                                                            actionlint is a static checker for GitHub Actions workflow files. Try it online! Features: Syntax check for workflow files to check unexpected or missing keys following workflow syntax Strong type check for ${{ }} expressions to catch several semantic errors like access to not existing property, type mismatches, ... Actions usage check to check that inputs at with: and outputs in steps.{id}.output

                                                              GitHub - rhysd/actionlint: :octocat: Static checker for GitHub Actions workflow files
                                                            • TypeScript-first schema validation with static type inference

                                                              TypeScript-first schema validation with static type inference

                                                                TypeScript-first schema validation with static type inference
                                                              • VitePress | Vite & Vue Powered Static Site Generator

                                                                Focus on Your ContentEffortlessly create beautiful documentation sites with just markdown. Enjoy the Vite DXInstant server start, lightning fast hot updates, and leverage Vite ecosystem plugins.

                                                                  VitePress | Vite & Vue Powered Static Site Generator
                                                                • JavaScript の Class Static Blocks について

                                                                  この記事では現在 Stage 3 の Class Static Blocks について解説する。 なお、まだ現時点で Stage 3 であるため実装状況や細かい仕様は今後変更される可能性がある。 概要 Class Static Blocks プロポーザルは、クラス内でスタティックなメンバにアクセスできるブロックの構文を導入する。 次のコードの static { から始まるブロックが新たに導入される構文である。このとき、スタティックブロック内のthis.fooはスタティックなメンバである。 class C { static foo; static { this.foo = "foo"; } } スタティックブロックはクラスCが評価されるタイミングで実行される即時実行関数のようなものと見ることもできる。また、クラスは複数のスタティックブロックを持つことができ、その場合は上から順に実行される。

                                                                    JavaScript の Class Static Blocks について
                                                                  • Astro(Static Site Genarator) 好きなフレームワークで高速WEBサイト構築 | Reffect

                                                                    高速なコンテンツ重視の WEB サイトを構築したいという人向けに新たな Static Site Generator(静的サイトジェネレーター:SSG)が登場しました。その名前は Astro。Next.js や Remix などの React フレームワークと同様に注目度の高いフレームワークの一つです。ブログサイトやオープソースのサイト(例:create-t3-app)などで利用され活発に更新が行われているので 2024年8月20日最新のバージョンはのAstro4.14.2です。 リリース当初は Static Site Generator(静的サイトジェネレーター:SSG)として登場した Astroですが現在はSSR(Sever Side Rendring)も備え, Static Site Generatorではなくフルスタックフレームワークとして開発が行われています。 本文書では公開当初は

                                                                      Astro(Static Site Genarator) 好きなフレームワークで高速WEBサイト構築 | Reffect
                                                                    • GitHub - dvershinin/gixy: NGINX configuration static analyzer

                                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                        GitHub - dvershinin/gixy: NGINX configuration static analyzer
                                                                      • Lume, the static site generator for Deno

                                                                        Supports any template engineCreate pages using Markdown, Vento, Nunjucks, Liquid, JSX, TSX, JavaScript, TypeScript, Pug, Eta… or add your own engine easily. page.mdpage.vtopage.njkpage.jsxpage.page.jspage.page.tspage.pugpage.eta # Galician municipalities - O Pino - Tordoia - Ordes - Cedeira <h1>{{ title }}</h1> <ul> {{ for item of items }} <li>{{ item }}</li> {{ /for }} </ul> <h1>{{ title }}</h1>

                                                                          Lume, the static site generator for Deno
                                                                        • GitHub - adityaathalye/shite: The little hot-reloadin' static site maker from shell.

                                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                            GitHub - adityaathalye/shite: The little hot-reloadin' static site maker from shell.
                                                                          • GitHub - kaleidawave/ezno: A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance

                                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                              GitHub - kaleidawave/ezno: A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance
                                                                            • microCMSを使用した静的サイトをXserver Staticへデプロイしてみる

                                                                              2024年8月22日、Xserverより新サービス「Xserver Static」がリリースされました。 Xserver Staticとは?「Xserver Static」は静的コンテンツの運営に特化したクラウドホスティングサービスで、高速かつ安全性に優れたサーバー環境を、広告なしで無料(!)で利用できるそうです。 Xserver Staticの特長静的コンテンツ専用サーバであるHTML、CSS、JavaScriptなどの静的コンテンツの運営に特化しており、Next.jsやAstroなどのWebフレームワークのデプロイ先としても利用できます(ただし、静的サイト生成に限ります)。もちろん、microCMSを使用したSSGサイトのデプロイも可能です。ただし、WordPressなどの動的サイトには対応していません。 CI/CDの機能はないNext.jsやAstroなどのWebフレームワークからデ

                                                                                microCMSを使用した静的サイトをXserver Staticへデプロイしてみる
                                                                              • 【Rust】static でも Drop したい

                                                                                Rustのstatic変数はいわゆるグローバル変数として使われることが多いですが、static変数はDropできない(デストラクタが呼ばれない)という特徴があります。 Static items do not call drop at the end of the program. メモリ管理の仕組みとして見ると、'static なライフタイムを持つstatic変数はdrop() の実行時でも生存している(有効である)必要があるため、自然な仕様に思えます。一方で、ある構造体がメモリに限らない一般的なリソースを所有するような場合、解放処理はDropとして実装されることが多いです。そのような構造体をプログラム全体で共有したいとき、static変数として表現すると、最初に提示した「Dropできない」という特徴が足枷になってしまうことがあります。この記事ではそのような場合の対処法をいくつか考えようと

                                                                                  【Rust】static でも Drop したい
                                                                                • GitHub - lumeland/lume: 🔥 Static site generator for Deno 🦕

                                                                                  Lume is the Galician word for fire but also a (yet another) static site generator for Deno. It’s inspired by other general-purpose static site generators, such as Jekyll and Eleventy, but it’s faster, simpler and easier to use and configure, besides being super flexible. Supports multiple file formats, like Markdown, YAML, JavaScript, TypeScript, JSX and Nunjucks, and it’s easy to extend. You can

                                                                                    GitHub - lumeland/lume: 🔥 Static site generator for Deno 🦕

                                                                                  新着記事