[ 首頁 / 搜尋 / 管理Discord ] [ Komica首頁 ] [ 跨版面 ] [ 雜談 / / 攝影 / 運動 ] [ 人工智慧 / 程設交流 ] [ 蔚藍檔案 / 英雄聯盟 / 米哈遊 / Minecraft / 魔物獵人 / 勝利女神:妮姬 / Pokémon / 刀劍亂舞 / Unlight ]

/cs/ - 程設交流

Computer science
名稱
Email
主題
回覆
檔案
嵌入
Options
密碼 (用來刪除檔案。)
  • Allowed file types:jpg, jpeg, png, gif, mp4, webm
  • Max filesize is 10 MB.
  • Max image dimensions are 10000 x 10000.
  • You may upload 1 per post.

  [Go to bottom]   [Catalog]   [返回]   [Archive]   [Featured]
YouTube embed. Click thumbnail to play.

d66fb5d5 No.308

https://github.com/ClockworkLabs/SpacetimeDB

針對遊戲設計的系統 不知道實用度如何

ecadfafb No.310

File: 1742063834076.png (114.94 KB, 1800x326, 截圖 2025-03-16 02.35.13.png)

感覺很棒。來畫一下我自己比較在意的東西:

>> SpacetimeDB is licensed under the BSL 1.1 license. This is not an open source

>>or free software license, however, it converts to the AGPL v3.0 license with a
>> linking exception after a few years.

看起來應該還在跟法律小組研究怎麼寫license。
現在開License的話會看到BSL跟AGPL的內容混雜。

>>It's actually similar to the idea of smart contracts, except that SpacetimeDB is

>>a database, has nothing to do with blockchain, and is orders of magnitude
>>faster than any smart contract system.

>>>>has nothing to do with blockchain


很好,非常好,太棒了。
跟區塊鏈之類的東西沒有關係,是個單純的遊戲道具。
不是因為要搞區塊鏈遊戲圈錢或是炒虛擬幣而誕生的東西。

>> This speed and latency is achieved by holding all of application state in memory,

>> while persisting the data in a write-ahead-log (WAL) which is used to recover
>>application state.

這段老實說有看沒有懂。似乎是高度依賴RAM的意思。

我覺得很有潛力,而且重點這東西是Relational,不是NoSQL。
目前比較大的問題大概就是License還不確定。不過他們頁面上現在這樣寫著:

>>We are expressly not interested in forcing users of SpacetimeDB to open source

>>their own code if they link with SpacetimeDB, so we needed to include a linking
>>exception.

應該是不用擔心會變成連鎖開源地雷。不過後續還是要等正式的license更新出來才知道。
可以玩,但是不建議在確認版License出來前認真用這東西寫任何會製造收入的東西。

d79ccbee No.312

>>310
高度依賴ram的話會先想到redis
看來也是把資料放ram以提高i/o速度的方式?

ecadfafb No.314

>>312

我也是這樣想,看到依賴RAM就有點縮了。
不過這東西的主要目標應該是RAM很充足的伺服器端。
畢竟現在RAM沒以前那麼貴。
現在還真的有人用幾T的RAM來打電動的。

其實看到這東西的第一個想法是不知道有沒有可能取代SQLite作為Portable的移動式資料庫使用。但是現在看來應該不容易。

62c24673 No.320

去官方的D扣問到了。

>>這段老實說有看沒有懂。似乎是高度依賴RAM的意思。


以下是官方回復

>>1. Base memory usage is extremely low
>>2. Eventually we'd like you to be able to use it as a library (like SQLite)
>> but right now it's more of a server

RAM的基礎消耗很低,不過這個可能還是得看使用者的實際運用方式而定。
我比較在意的能不能當SQLite替代品這件事情,雖然目前不行但是是官方表示這是最終目標之一。
以我個人來說是可以去投入研究的訊號。
覺得未來這東西搞不好會取代SQLite的地位。

53183eec No.323

看到要用rust我就縮了
我對rust的lifetime語法真的很感冒
它如果不寫lifetime的話的一切看起來都很美好
尤其是pattern match真的很棒
可一旦用到lifetime的話就會把你所有程式碼弄得不堪入目
標準的一顆屎壞了一鍋粥

f102875a No.324

>>323

你可以用C#啊。
再者,人家底層是WebAssembly,
就算你微軟產品一律不用,
你也可以去找其他可以編譯到WebAssembly的語言自己寫模組。

53183eec No.325

>>324
哦哦原來還有c#
我看到開頭只有寫rust就以為只能用rust咧
這樣有空來試看看



[Go to top] [Catalog] [返回][Post a Reply]
刪除貼文 [ ]
[ 首頁 / 搜尋 / 管理Discord ] [ Komica首頁 ] [ 跨版面 ] [ 雜談 / / 攝影 / 運動 ] [ 人工智慧 / 程設交流 ] [ 蔚藍檔案 / 英雄聯盟 / 米哈遊 / Minecraft / 魔物獵人 / 勝利女神:妮姬 / Pokémon / 刀劍亂舞 / Unlight ]